OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / gnumaniak / original / man1 / tee.1
1 .\" You may copy, distribute and modify under the terms of the LDP General
2 .\" Public License as specified in the LICENSE file that comes with the
3 .\" gnumaniak distribution
4 .\"
5 .\" The author kindly requests that no comments regarding the "better"
6 .\" suitability or up-to-date notices of any info documentation alternative
7 .\" is added without contacting him first.
8 .\"
9 .\" (C) 1999-2002 Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
10 .\"
11 .\"     GNU tee man page
12 .\"     man pages are NOT obsolete!
13 .\"     <ragnar@ragnar-hojland.com>
14 .TH tee 1 "18 June 2002" "GNU Shell Utilities 2.1"
15 .SH NAME
16 tee \- read from standard input and write to standard output and files
17 .SH SYNOPSIS
18 .B tee [\-ai] [\-\-append] [\-\-ignore-interrupts]
19 .BI [ file... ]
20 .sp
21 .B tee [\-\-help] [\-\-version]
22 .SH DESCRIPTION
23 .B tee
24 copies the standard input to the standard output and any
25 files given as arguments. It is useful when you want not only to send
26 some data down a pipe, but also to save a copy.
27 .P
28 If a file being written to does not already exist, it is created.  If
29 a file being written to already exists, the data it previously
30 contained is overwritten unless the
31 .B \-a
32 option is used.
33 .SH OPTIONS
34 .TP
35 .B "\-a, \-\-append"
36 Append the standard input to the given files rather than overwriting them.
37 .TP
38 .B "\-i, \-\-ignore-interrupts"
39 Ignore interrupt signals.
40 .TP
41 .B "\-\-help"
42 Print a usage message on standard output and exit successfully.
43 .TP
44 .B "\-\-version"
45 Print version information on standard output then exit successfully.
46 .SH NOTES
47 Report bugs to bug-sh-utils@gnu.org.
48 Page updated by Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>