mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-23 13:11:15 -03:00
Add support for \\ in quoted strings
darcs-hash:20060306015012-ac50b-a510764b624d1e4416d134f5b92532e046a6125b.gz
This commit is contained in:
@@ -72,10 +72,11 @@ quoted string, <a href='#expand-variable'>variable expansion</a> still
|
||||
takes place. Other than that, a quoted parameter will not be parameter
|
||||
expanded, may contain spaces, and escape sequences are ignored. The
|
||||
only backslash escape accepted within single quotes is \\', which
|
||||
escapes a single quote. The only backslash escapes accepted within
|
||||
double quotes are \\", which escapes a double quote, and \\$, which
|
||||
escapes a dollar character. Single quotes have no special meaning
|
||||
withing double quotes and vice versa.
|
||||
escapes a single quote and \\\\, which escapes the backslash
|
||||
symbol. The only backslash escapes accepted within double quotes are
|
||||
\\", which escapes a double quote, \\$, which escapes a dollar
|
||||
character, and \\\\, which escapes the backslash symbol. Single quotes
|
||||
have no special meaning withing double quotes and vice versa.
|
||||
|
||||
Example:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user