Minor documentation correction regarding how to use io redirection to close a fd

darcs-hash:20060131214551-ac50b-0b687b3279d3a9c94338092bff1b0a8001e9566d.gz
This commit is contained in:
axel 2006-02-01 07:45:51 +10:00
parent 35cf20640f
commit 3580811f8e

View file

@ -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: