10.0;tee, revision 1.0, 88/01/21
tee -- Copy input to output and to named files.
usage: tee pathname ...
DESCRIPTION
tee copies its standard input to standard output and to the named files.
It is useful for saving the data being transmitted through a pipeline.
ARGUMENTS
pathname (required)
Specify name of file to receive output. Multiple
pathnames are permitted.
EXAMPLES
$ fmt mary | tee mary.clean | os >mary.overstruck
This command line causes the file mary to be formatted with fmt. The
formatted text is written to the file mary.clean and also piped to the os
command to produce overstruck output (for a line printer) redirected into
the file mary.overstruck. Thus, you end up with two output files: one
with ASCII carriage control mary.clean and one with FORTRAN carriage
control mary.overstruck.