From d7f36fab443047de1dac840926a4a3b0e3990656 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Wed, 12 Oct 2022 18:15:21 +0200 Subject: [PATCH] docs: Fix some of the escaping section No more need to escape `^`, be fancy with the backslash space to make it actually, you know, render in the output. --- doc_src/language.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc_src/language.rst b/doc_src/language.rst index 719e9f679..a458039f0 100644 --- a/doc_src/language.rst +++ b/doc_src/language.rst @@ -125,7 +125,8 @@ outputs ``hello world`` (without the apostrophes). In the former case the shell The special characters and their escape sequences are: -- :code:`\ ` (backslash space) escapes the space character. This keeps the shell from splitting arguments on the escaped space. +.. (next line features a non-breaking space - this will be rendered to a normal space instead of removed) +- :code:`\\\ ` (backslash space) escapes the space character. This keeps the shell from splitting arguments on the escaped space. - ``\$`` escapes the dollar character. - ``\\`` escapes the backslash character. - ``\*`` escapes the star character. @@ -140,7 +141,6 @@ The special characters and their escape sequences are: - ``\]`` escapes the right bracket character. - ``\<`` escapes the less than character. - ``\>`` escapes the more than character. -- ``\^`` escapes the circumflex character. - ``\&`` escapes the ampersand character. - ``\|`` escapes the vertical bar character. - ``\;`` escapes the semicolon character.