mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-11 15:37:24 +00:00
Minor documentation correction regarding how to use io redirection to close a fd
darcs-hash:20060131214551-ac50b-0b687b3279d3a9c94338092bff1b0a8001e9566d.gz
This commit is contained in:
parent
35cf20640f
commit
3580811f8e
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ which directs the output of the echo command to the file error.txt.
|
||||||
|
|
||||||
- A filename. The output will be written to the specified file.
|
- A filename. The output will be written to the specified file.
|
||||||
- An ampersand (\&) followed by the number of another file descriptor. The file descriptor will be a duplicate of the specified file descriptor.
|
- An ampersand (\&) followed by the number of another file descriptor. The file descriptor will be a duplicate of the specified file descriptor.
|
||||||
- A minus sign (-). The file descriptor will be closed.
|
- An ampersand followed by a minus sign (\&-). The file descriptor will be closed.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue