Differences between revisions 1 and 2
Revision 1 as of 2023-01-27 18:49:15
Size: 304
Comment:
Revision 2 as of 2023-01-27 19:00:03
Size: 509
Comment:
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
The non-ANSI sequences `\E` (same as `\e`) and `\cx` (control characters) are also expanded.
Line 19: Line 21:
If a string is quoted within `$"..."`, then it expands to a string translated through the current locale.

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

Bash/Quoting (last edited 2023-01-30 02:50:25 by DominicRicottone)