From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/bash/ansi_002dc-quoting.html | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 devdocs/bash/ansi_002dc-quoting.html (limited to 'devdocs/bash/ansi_002dc-quoting.html') diff --git a/devdocs/bash/ansi_002dc-quoting.html b/devdocs/bash/ansi_002dc-quoting.html new file mode 100644 index 00000000..b04c8d4a --- /dev/null +++ b/devdocs/bash/ansi_002dc-quoting.html @@ -0,0 +1,6 @@ +

ANSI-C Quoting

Character sequences of the form $’string’ are treated as a special kind of single quotes. The sequence expands to string, with backslash-escaped characters in string replaced as specified by the ANSI C standard. Backslash escape sequences, if present, are decoded as follows:

\a

alert (bell)

\b

backspace

\e
\E

an escape character (not ANSI C)

\f

form feed

\n

newline

\r

carriage return

\t

horizontal tab

\v

vertical tab

\\

backslash

\'

single quote

\"

double quote

\?

question mark

\nnn

the eight-bit character whose value is the octal value nnn (one to three octal digits)

\xHH

the eight-bit character whose value is the hexadecimal value HH (one or two hex digits)

\uHHHH

the Unicode (ISO/IEC 10646) character whose value is the hexadecimal value HHHH (one to four hex digits)

\UHHHHHHHH

the Unicode (ISO/IEC 10646) character whose value is the hexadecimal value HHHHHHHH (one to eight hex digits)

\cx

a control-x character

The expanded result is single-quoted, as if the dollar sign had not been present.

+

+ Copyright © 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
Licensed under the GNU Free Documentation License.
+ https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-Quoting.html +

+
-- cgit v1.2.3