mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-20 07:12:46 +08:00
parent
8a7a2f67ca
commit
4ba7855699
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user