Search notes:

Bash: quoting

Ansi c quoting

$'...' allows ansi c quoting and therefore to print new lines or the representation of hexadecimal values:
echo $'one\ntwo\nthree\n\n'
#
# one
# two
# three

echo $'Hello Ren\xc3\xa9'
#
# Hello René
Github repository about-Bash, path: /quoting/ansi-c

See also

bash

Index