version 1.3, 1998/10/30 00:24:38 |
version 1.4, 2000/03/05 00:28:55 |
|
|
.Op Ar file ... |
.Op Ar file ... |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
The |
The |
.Nm tee |
.Nm |
utility copies standard input to standard output, |
utility copies standard input to standard output, |
making a copy in zero or more files. |
making a copy in zero or more files. |
The output is unbuffered. |
The output is unbuffered. |
.Pp |
.Pp |
The following options are available: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Fl a |
.It Fl a |
Append the output to the files rather than |
Append the output to the files rather than |
|
|
.El |
.El |
.Pp |
.Pp |
The |
The |
.Nm tee |
.Nm |
utility takes the default action for all signals, |
utility takes the default action for all signals, |
except in the event of the |
except in the event of the |
.Fl i |
.Fl i |
option. |
option. |
.Pp |
.Pp |
The |
The |
.Nm tee |
.Nm |
utility exits 0 on success or >0 if an error occurred. |
utility exits 0 on success or >0 if an error occurred. |
.Sh STANDARDS |
.Sh STANDARDS |
The |
The |
.Nm tee |
.Nm |
function is expected to be |
function is expected to be |
.Tn POSIX |
.Tn POSIX |
.St -p1003.2 |
.St -p1003.2 |