summaryrefslogtreecommitdiffstats
path: root/usr.bin/tee/tee.1
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1997-08-14 06:42:43 +0000
committercharnier <charnier@FreeBSD.org>1997-08-14 06:42:43 +0000
commitd72228bb7adc0fb9c385edf572740bd6d49d584f (patch)
tree95aac8d12900a897ef3950937bde5c8eac20515e /usr.bin/tee/tee.1
parentbaddffcb88190045abeba2d41ef87a2f8f7259ef (diff)
downloadFreeBSD-src-d72228bb7adc0fb9c385edf572740bd6d49d584f.zip
FreeBSD-src-d72228bb7adc0fb9c385edf572740bd6d49d584f.tar.gz
Use err(3) instead of local redefinition. Add usage().
Diffstat (limited to 'usr.bin/tee/tee.1')
-rw-r--r--usr.bin/tee/tee.115
1 files changed, 7 insertions, 8 deletions
diff --git a/usr.bin/tee/tee.1 b/usr.bin/tee/tee.1
index 2e453cb..5b6cdd4 100644
--- a/usr.bin/tee/tee.1
+++ b/usr.bin/tee/tee.1
@@ -41,12 +41,12 @@
.Nm tee
.Nd pipe fitting
.Sh SYNOPSIS
-.Nm tee
+.Nm
.Op Fl ai
-.Op Ar file ...
+.Op Ar
.Sh DESCRIPTION
The
-.Nm tee
+.Nm
utility copies standard input to standard output,
making a copy in zero or more files.
The output is unbuffered.
@@ -64,25 +64,24 @@ signal.
.Pp
The following operands are available:
.Bl -tag -width file
-.It file
+.It Ar file
A pathname of an output
.Ar file .
.El
.Pp
The
-.Nm tee
+.Nm
utility takes the default action for all signals,
except in the event of the
.Fl i
option.
.Pp
The
-.Nm tee
+.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh STANDARDS
The
-.Nm tee
+.Nm
function is expected to be
-.Tn POSIX
.St -p1003.2
compatible.
OpenPOWER on IntegriCloud