Rev | Line | |
---|
[9] | 1 | .TH TEE 1
|
---|
| 2 | .SH NAME
|
---|
| 3 | tee \- divert stdin to a file
|
---|
| 4 | .SH SYNOPSIS
|
---|
| 5 | \fBtee\fR [\fB\-ai\fR] \fIfile\fR ...\fR
|
---|
| 6 | .br
|
---|
| 7 | .de FL
|
---|
| 8 | .TP
|
---|
| 9 | \\fB\\$1\\fR
|
---|
| 10 | \\$2
|
---|
| 11 | ..
|
---|
| 12 | .de EX
|
---|
| 13 | .TP 20
|
---|
| 14 | \\fB\\$1\\fR
|
---|
| 15 | # \\$2
|
---|
| 16 | ..
|
---|
| 17 | .SH OPTIONS
|
---|
| 18 | .FL "\-a" "Append to the files, rather than overwriting"
|
---|
| 19 | .FL "\-i" "Ignore interrupts"
|
---|
| 20 | .SH EXAMPLES
|
---|
| 21 | .EX "cat file1 file2 | tee x" "Save and display two files"
|
---|
| 22 | .EX "pr file | tee x | lp" "Save the output of \fIpr\fP on \fIx\fP"
|
---|
| 23 | .SH DESCRIPTION
|
---|
| 24 | .PP
|
---|
| 25 | .I Tee
|
---|
| 26 | copies \fIstdin\fR to standard output.
|
---|
| 27 | It also makes copies on all the files listed as arguments.
|
---|
| 28 | .SH "SEE ALSO"
|
---|
| 29 | .BR cat (1).
|
---|
Note:
See
TracBrowser
for help on using the repository browser.