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:
\aalert (bell)
\bbackspace
\e\EAn escape character (not in ANSI C).
\fform feed
\nnewline
\rcarriage return
\thorizontal tab
\vvertical tab
\\backslash
\'single quote
\"double quote
\?question mark
\nnnThe eight-bit character whose value is the octal value nnn (one to three octal digits).
\xHHThe eight-bit character whose value is the hexadecimal value HH (one or two hex digits).
\uHHHHThe Unicode (ISO/IEC 10646) character whose value is the hexadecimal value HHHH (one to four hex digits).
\UHHHHHHHHThe Unicode (ISO/IEC 10646) character whose value is the hexadecimal value HHHHHHHH (one to eight hex digits).
\cxA control-x character.
The expanded result is single-quoted, as if the dollar sign had not been present.