forked from Stichting-MINIX-Research-Foundation/minix
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtee.1
More file actions
37 lines (37 loc) · 582 Bytes
/
Copy pathtee.1
File metadata and controls
37 lines (37 loc) · 582 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.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).