Commit | Line | Data |
---|---|---|
0cfff12b WJ |
1 | .TH TEE 1L \" -*- nroff -*- |
2 | .SH NAME | |
3 | tee \- read from standard input and write to standard output and files | |
4 | .SH SYNOPSIS | |
5 | .B tee | |
6 | [\-ai] [\-\-append] [\-\-ignore-interrupts] [file...] | |
7 | .SH DESCRIPTION | |
8 | This manual page | |
9 | documents the GNU version of | |
10 | .BR tee . | |
11 | The | |
12 | .B tee | |
13 | command copies the standard input to the standard output and any | |
14 | files given as arguments. | |
15 | .P | |
16 | If a file being written to does not already exist, it is created. If | |
17 | a file being written to already exists, the data it previously | |
18 | contained is overwritten unless the | |
19 | .I \-a | |
20 | option is used. | |
21 | .SS OPTIONS | |
22 | .TP | |
23 | .I \-a, \-\-append | |
24 | Append the standard input to the given files rather than overwriting them. | |
25 | .TP | |
26 | .I \-i, \-\-ignore-interrupts | |
27 | Ignore interrupt signals. | |
28 | .PP | |
29 | The long-named options can be introduced with `+' as well as `\-\-', | |
30 | for compatibility with previous releases. Eventually support for `+' | |
31 | will be removed, because it is incompatible with the POSIX.2 standard. |