From cea941a0616848f54e5d435c863a829fa18da93a Mon Sep 17 00:00:00 2001 From: Charles Gould Date: Wed, 15 Jul 2020 03:24:18 -0400 Subject: [PATCH] docs: fix literals in quotes section --- doc_src/index.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc_src/index.rst b/doc_src/index.rst index a262191df..73ac36966 100644 --- a/doc_src/index.rst +++ b/doc_src/index.rst @@ -181,19 +181,20 @@ Example:: rm "cumbersome filename.txt" -Will remove the file 'cumbersome filename.txt', while +removes the file ``cumbersome filename.txt``, while :: rm cumbersome filename.txt -would remove the two files 'cumbersome' and 'filename.txt'. +removes two files, ``cumbersome`` and ``filename.txt``. :: + grep 'enabled)$' foo.txt -will search for lines ending in "enabled)" in foo.txt (the `$` is special to `grep`). +searches for lines ending in ``enabled)`` in ``foo.txt`` (the ``$`` is special to ``grep``: it matches the end of the line). .. _escapes: