minix/man/man1/tee.1
2012-03-31 23:47:03 +02:00

37 lines
582 B
Groff

.TH TEE 1
.SH NAME
tee \- divert stdin to a file
.SH SYNOPSIS
\fBtee\fR [\fB\-ai\fR] \fIfile\fR ...\fR
.br
.de FL
.TP
\\fB\\$1\\fR
\\$2
..
.de EX
.TP 20
\\fB\\$1\\fR
# \\$2
..
.SH OPTIONS
.TP 5
.B \-a
# Append to the files, rather than overwriting
.TP 5
.B \-i
# Ignore interrupts
.SH EXAMPLES
.TP 20
.B cat file1 file2 | tee x
# Save and display two files
.TP 20
.B pr file | tee x | lp
# Save the output of \fIpr\fP on \fIx\fP
.SH DESCRIPTION
.PP
.I Tee
copies \fIstdin\fR to standard output.
It also makes copies on all the files listed as arguments.
.SH "SEE ALSO"
.BR cat (1).