109 lines
3.3 KiB
HTML
109 lines
3.3 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of TEE</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>TEE</H1>
|
|
Section: User Commands (1)<BR>Updated: September 2019<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
tee - read from standard input and write to standard output and files
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>tee</B>
|
|
|
|
[<I>,OPTION/</I>]... [<I>,FILE/</I>]...
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
|
<P>
|
|
|
|
Copy standard input to each FILE, and also to standard output.
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-a</B>, <B>--append</B><DD>
|
|
append to the given FILEs, do not overwrite
|
|
<DT id="2"><B>-i</B>, <B>--ignore-interrupts</B><DD>
|
|
ignore interrupt signals
|
|
<DT id="3"><B>-p</B><DD>
|
|
diagnose errors writing to non pipes
|
|
<DT id="4"><B>--output-error</B>[=<I>,MODE/</I>]<DD>
|
|
set behavior on write error. See MODE below
|
|
<DT id="5"><B>--help</B><DD>
|
|
display this help and exit
|
|
<DT id="6"><B>--version</B><DD>
|
|
output version information and exit
|
|
</DL>
|
|
<A NAME="lbAE"> </A>
|
|
<H3>MODE determines behavior with write errors on the outputs:</H3>
|
|
|
|
<DL COMPACT>
|
|
<DT id="7">'warn'<DD>
|
|
diagnose errors writing to any output
|
|
<DT id="8">'warn-nopipe'<DD>
|
|
diagnose errors writing to any output not a pipe
|
|
<DT id="9">'exit'<DD>
|
|
exit on error writing to any output
|
|
<DT id="10">'exit-nopipe'<DD>
|
|
exit on error writing to any output not a pipe
|
|
</DL>
|
|
<P>
|
|
|
|
The default MODE for the <B>-p</B> option is 'warn-nopipe'.
|
|
The default operation when <B>--output-error</B> is not specified, is to
|
|
exit immediately on error writing to a pipe, and diagnose errors
|
|
writing to non pipe outputs.
|
|
<A NAME="lbAF"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Written by Mike Parker, Richard M. Stallman, and David MacKenzie.
|
|
<A NAME="lbAG"> </A>
|
|
<H2>REPORTING BUGS</H2>
|
|
|
|
GNU coreutils online help: <<A HREF="https://www.gnu.org/software/coreutils/">https://www.gnu.org/software/coreutils/</A>>
|
|
<BR>
|
|
|
|
Report tee translation bugs to <<A HREF="https://translationproject.org/team/">https://translationproject.org/team/</A>>
|
|
<A NAME="lbAH"> </A>
|
|
<H2>COPYRIGHT</H2>
|
|
|
|
Copyright © 2018 Free Software Foundation, Inc.
|
|
License GPLv3+: GNU GPL version 3 or later <<A HREF="https://gnu.org/licenses/gpl.html">https://gnu.org/licenses/gpl.html</A>>.
|
|
<BR>
|
|
|
|
This is free software: you are free to change and redistribute it.
|
|
There is NO WARRANTY, to the extent permitted by law.
|
|
<A NAME="lbAI"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
Full documentation at: <<A HREF="https://www.gnu.org/software/coreutils/tee">https://www.gnu.org/software/coreutils/tee</A>>
|
|
<BR>
|
|
|
|
or available locally via: info '(coreutils) tee invocation'
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="11"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="12"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="13"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DL>
|
|
<DT id="14"><A HREF="#lbAE">MODE determines behavior with write errors on the outputs:</A><DD>
|
|
</DL>
|
|
<DT id="15"><A HREF="#lbAF">AUTHOR</A><DD>
|
|
<DT id="16"><A HREF="#lbAG">REPORTING BUGS</A><DD>
|
|
<DT id="17"><A HREF="#lbAH">COPYRIGHT</A><DD>
|
|
<DT id="18"><A HREF="#lbAI">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:28 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|