Docs: fix code block

(cherry picked from commit 72de1dc201)
This commit is contained in:
Adam J. Stewart 2023-07-09 21:16:16 -05:00 committed by Fabian Boehm
parent 8a7a2f67ca
commit 4ba7855699

View File

@ -90,7 +90,8 @@ More examples::
searches for lines ending in ``enabled)`` in ``foo.txt`` (the ``$`` is special to ``grep``: it matches the end of the line).
::
apt install "postgres-*"
apt install "postgres-*"
installs all packages with a name starting with "postgres-", instead of looking through the current directory for files named "postgres-something".
@ -264,7 +265,7 @@ Now let's see a few cases::
# Show the "out" on stderr, silence the "err"
print >&2 2>/dev/null
# Silence both
print >/dev/null 2>&1