Bash Quoting


ANSI Quoting

If a string is quoted within $'...', then it expands to a string with backslash-escaped characters translated per C ANSI escape sequences.

The non-ANSI sequences \E (same as \e) and \cx (control characters) are also expanded.


Localization

If a string is quoted within $"...", then it expands to a string translated through the current locale.


CategoryRicottone