summary refs log tree commit diff
diff options
context:
space:
mode:
authorStéphane Aulery <saulery@free.fr>2014-12-11 10:03:06 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2014-12-26 09:50:58 +1100
commit6adc14a0d4e4a25eb2df8110672c84f393b45acb (patch)
tree7f1143e529f89138f0c502b7f6b6fd2281a36305
parent[BUILTIN] Fix "test -x" as root on FreeBSD 8 (diff)
downloaddash-6adc14a0d4e4a25eb2df8110672c84f393b45acb.tar.gz
dash-6adc14a0d4e4a25eb2df8110672c84f393b45acb.zip
man: Clarify two redirection mechanisms
Close Debian Bug #501566

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--src/dash.16
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dash.1 b/src/dash.1
index d782882..693c970 100644
--- a/src/dash.1
+++ b/src/dash.1
@@ -402,11 +402,13 @@ Append standard output (or n) to file.
 .It [n] Ns \*[Lt] file
 Redirect standard input (or n) from file.
 .It [n1] Ns \*[Lt]& Ns n2
-Duplicate standard input (or n1) from file descriptor n2.
+Copy file descriptor n2 as stdout (or fd n1).
+fd n2.
 .It [n] Ns \*[Lt]&-
 Close standard input (or n).
 .It [n1] Ns \*[Gt]& Ns n2
-Duplicate standard output (or n1) to n2.
+Copy file descriptor n2 as stdin (or fd n1).
+fd n2.
 .It [n] Ns \*[Gt]&-
 Close standard output (or n).
 .It [n] Ns \*[Lt]\*[Gt] file