mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 19:53:36 +08: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
|
@ -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.
|
||||
- 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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user