Document escape of new lines

I'm not sure if line continuations are covered anywhere else in the docs, but I
think the escapes section of the language page is a good place to mention them.
This commit is contained in:
Mahmoud Al-Qudsi 2022-11-09 13:00:09 -06:00
parent 3ac6bdd437
commit 37b0f4dabc

View file

@ -148,6 +148,8 @@ The special characters and their escape sequences are:
- ``\"`` escapes the quote character. - ``\"`` escapes the quote character.
- ``\'`` escapes the apostrophe character. - ``\'`` escapes the apostrophe character.
As a special case, ``\`` immediately followed by a literal new line is a "continuation" and tells fish to ignore the line break and resume input at the start of the next line (without introducing any whitespace or terminating a token).
.. _redirects: .. _redirects:
Input/Output Redirection Input/Output Redirection