code: 9ferno

ref: 6bb619c8db2867ddd9cd19c0aec05065f5ee0cae
dir: /man/1/tee/

View raw version
.TH TEE 1
.SH NAME
tee \- pipe fitting
.SH SYNOPSIS
.B tee
[
.B \-a
]
[
.I file
\&...
]
.SH DESCRIPTION
.I Tee
reads the standard input and writes a copy of each block read
to each
.I file
in turn, and then to the standard output.
Normally
.I tee
rewrites each
.IR file ;
the
.B \-a
option causes data to be appended instead.
.SH SOURCE
.B /appl/cmd/tee.b
.SH SEE ALSO
.IR cat (1),
.IR tail (1)