mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 21:21:15 -03:00
Use a better wording for escaping characters
Replace the wording '... escapes the tab character ...' with '... represents the tab character ...'. Similarly for other escape sequences.
This commit is contained in:
committed by
ridiculousfish
parent
7954b95f5d
commit
b057efdb37
@@ -80,14 +80,14 @@ would remove the two files 'cumbersome' and 'filename.txt'.
|
||||
|
||||
Some characters can not be written directly on the command line. For these characters, so called escape sequences are provided. These are:
|
||||
|
||||
- '<code>\\a</code>' escapes the alert character
|
||||
- '<code>\\b</code>' escapes the backspace character
|
||||
- '<code>\\e</code>' escapes the escape character
|
||||
- '<code>\\f</code>' escapes the form feed character
|
||||
- '<code>\\n</code>' escapes a newline character
|
||||
- '<code>\\r</code>' escapes the carriage return character
|
||||
- '<code>\\t</code>' escapes the tab character
|
||||
- '<code>\\v</code>' escapes the vertical tab character
|
||||
- '<code>\\a</code>' represents the alert character
|
||||
- '<code>\\b</code>' represents the backspace character
|
||||
- '<code>\\e</code>' represents the escape character
|
||||
- '<code>\\f</code>' represents the form feed character
|
||||
- '<code>\\n</code>' represents a newline character
|
||||
- '<code>\\r</code>' represents the carriage return character
|
||||
- '<code>\\t</code>' represents the tab character
|
||||
- '<code>\\v</code>' represents the vertical tab character
|
||||
- '<code>\\ </code>' escapes the space character
|
||||
- '<code>\\$</code>' escapes the dollar character
|
||||
- '<code>\\\\</code>' escapes the backslash character
|
||||
@@ -110,18 +110,18 @@ Some characters can not be written directly on the command line. For these chara
|
||||
- '<code>\\"</code>' escapes the quote character
|
||||
- '<code>\\'</code>' escapes the apostrophe character
|
||||
|
||||
- '<code>\\x<i>xx</i></code>', where <code><i>xx</i></code> is a hexadecimal number, escapes the ascii character with the specified value. For example, `\x9` is the tab character.
|
||||
- '<code>\\x<i>xx</i></code>', where <code><i>xx</i></code> is a hexadecimal number, represents the ascii character with the specified value. For example, `\x9` is the tab character.
|
||||
|
||||
- '<code>\\X<i>xx</i></code>', where <code><i>xx</i></code> is a hexadecimal number, escapes a byte of data with the specified value. If you are using a mutibyte encoding, this can be used to enter
|
||||
- '<code>\\X<i>xx</i></code>', where <code><i>xx</i></code> is a hexadecimal number, represents a byte of data with the specified value. If you are using a mutibyte encoding, this can be used to enter
|
||||
invalid strings. Only use this if you know what you are doing.
|
||||
|
||||
- '<code>\\<i>ooo</i></code>', where <code><i>ooo</i></code> is an octal number, escapes the ascii character with the specified value. For example, `\011` is the tab character.
|
||||
- '<code>\\<i>ooo</i></code>', where <code><i>ooo</i></code> is an octal number, represents the ascii character with the specified value. For example, `\011` is the tab character.
|
||||
|
||||
- '<code>\\u<i>xxxx</i></code>', where <code><i>xxxx</i></code> is a hexadecimal number, escapes the 16-bit Unicode character with the specified value. For example, `\u9` is the tab character.
|
||||
- '<code>\\u<i>xxxx</i></code>', where <code><i>xxxx</i></code> is a hexadecimal number, represents the 16-bit Unicode character with the specified value. For example, `\u9` is the tab character.
|
||||
|
||||
- '<code>\\U<i>xxxxxxxx</i></code>', where <code><i>xxxxxxxx</i></code> is a hexadecimal number, escapes the 32-bit Unicode character with the specified value. For example, `\U9` is the tab character.
|
||||
- '<code>\\U<i>xxxxxxxx</i></code>', where <code><i>xxxxxxxx</i></code> is a hexadecimal number, represents the 32-bit Unicode character with the specified value. For example, `\U9` is the tab character.
|
||||
|
||||
- '<code>\\c<i>x</i></code>', where <code><i>x</i></code> is a letter of the alphabet, escapes the control sequence generated by pressing the control key and the specified letter. For example, `\ci` is the tab character
|
||||
- '<code>\\c<i>x</i></code>', where <code><i>x</i></code> is a letter of the alphabet, represents the control sequence generated by pressing the control key and the specified letter. For example, `\ci` is the tab character
|
||||
|
||||
|
||||
\subsection redirects Input/Output (IO) redirection
|
||||
|
||||
Reference in New Issue
Block a user