diff options
| author | Craig Jennings <c@cjennings.net> | 2024-04-07 13:41:34 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2024-04-07 13:41:34 -0500 |
| commit | 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch) | |
| tree | f1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/bash/quoting.html | |
new repository
Diffstat (limited to 'devdocs/bash/quoting.html')
| -rw-r--r-- | devdocs/bash/quoting.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/devdocs/bash/quoting.html b/devdocs/bash/quoting.html new file mode 100644 index 00000000..5377f059 --- /dev/null +++ b/devdocs/bash/quoting.html @@ -0,0 +1,6 @@ +<h1 class="subsection">Quoting</h1> <p>Quoting is used to remove the special meaning of certain characters or words to the shell. Quoting can be used to disable special treatment for special characters, to prevent reserved words from being recognized as such, and to prevent parameter expansion. </p> <p>Each of the shell metacharacters (see <a href="definitions">Definitions</a>) has special meaning to the shell and must be quoted if it is to represent itself. When the command history expansion facilities are being used (see <a href="history-interaction">History Expansion</a>), the <em>history expansion</em> character, usually ‘<samp>!</samp>’, must be quoted to prevent history expansion. See <a href="bash-history-facilities">Bash History Facilities</a>, for more details concerning history expansion. </p> <p>There are three quoting mechanisms: the <em>escape character</em>, single quotes, and double quotes. </p> <ul class="section-toc"> <li><a href="escape-character" accesskey="1">Escape Character</a></li> <li><a href="single-quotes" accesskey="2">Single Quotes</a></li> <li><a href="double-quotes" accesskey="3">Double Quotes</a></li> <li><a href="ansi_002dc-quoting" accesskey="4">ANSI-C Quoting</a></li> <li><a href="locale-translation" accesskey="5">Locale-Specific Translation</a></li> </ul><div class="_attribution"> + <p class="_attribution-p"> + Copyright © 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.<br>Licensed under the GNU Free Documentation License.<br> + <a href="https://www.gnu.org/software/bash/manual/html_node/Quoting.html" class="_attribution-link">https://www.gnu.org/software/bash/manual/html_node/Quoting.html</a> + </p> +</div> |
