summaryrefslogtreecommitdiffstats
path: root/bin/sh/sh.1
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-10-03 23:13:14 +0000
committerbrian <brian@FreeBSD.org>2000-10-03 23:13:14 +0000
commit89a0a9cf1836abe33d8635f8eff8286193d3e620 (patch)
tree70219d438da762201d07f27ffc7f0b20263e1b0e /bin/sh/sh.1
parent917d66438f42a2cdb4cd8ca613b239a72e5652b3 (diff)
downloadFreeBSD-src-89a0a9cf1836abe33d8635f8eff8286193d3e620.zip
FreeBSD-src-89a0a9cf1836abe33d8635f8eff8286193d3e620.tar.gz
Implement the <> redirection operator.
Diffstat (limited to 'bin/sh/sh.1')
-rw-r--r--bin/sh/sh.19
1 files changed, 6 insertions, 3 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1
index 6e1bf1f..8277ddb 100644
--- a/bin/sh/sh.1
+++ b/bin/sh/sh.1
@@ -331,13 +331,14 @@ The following is a list of valid operators:
.Xc Xc Xc Xc
.El
.It Redirection operators:
-.Bl -column "XXX" "XXX" "XXX" "XXX" -offset center -compact
+.Bl -column "XXX" "XXX" "XXX" "XXX" "XXX" -offset center -compact
.It Xo
.Li < Ta Xo
.Li > Ta Xo
.Li << Ta Xo
-.Li >>
-.Xc Xc Xc Xc
+.Li >> Ta Xo
+.Li <>
+.Xc Xc Xc Xc Xc
.It Xo
.Li <& Ta Xo
.Li >& Ta Xo
@@ -497,6 +498,8 @@ option
append stdout (or file descriptor n) to file
.It Li [n]< file
redirect stdin (or file descriptor n) from file
+.It Li [n]<> file
+redirect stdin (or file descriptor n) to and from file
.It Li [n1]<&n2
duplicate stdin (or file descriptor n1) from file descriptor n2
.It Li [n]<&-
OpenPOWER on IntegriCloud