1 1 3.1.2 Quoting 1 ------------- 1
1 · Escape Character How to remove the special meaning from a single 1 character. · Single Quotes How to inhibit all interpretation of a sequence 1 of characters. · Double Quotes How to suppress most of the interpretation of a 1 sequence of characters. · ANSI-C Quoting How to expand ANSI-C sequences in quoted strings. · Locale Translation How to translate strings into different languages. 1 1 Quoting is used to remove the special meaning of certain characters or 1 words to the shell. Quoting can be used to disable special treatment 1 for special characters, to prevent reserved words from being recognized 1 as such, and to prevent parameter expansion. 1 1 Each of the shell metacharacters (⇒Definitions) has special 1 meaning to the shell and must be quoted if it is to represent itself. 11 When the command history expansion facilities are being used (⇒ History Interaction), the HISTORY EXPANSION character, usually '!', 11 must be quoted to prevent history expansion. ⇒Bash History Facilities, for more details concerning history expansion. 1 1 There are three quoting mechanisms: the ESCAPE CHARACTER, single 1 quotes, and double quotes. 1