117 lines
3.3 KiB
HTML
117 lines
3.3 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of CAT</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>CAT</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>
|
|
|
|
cat - concatenate files and print on the standard output
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>cat</B>
|
|
|
|
[<I>,OPTION/</I>]... [<I>,FILE/</I>]...
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
|
<P>
|
|
|
|
Concatenate FILE(s) to standard output.
|
|
<P>
|
|
|
|
With no FILE, or when FILE is -, read standard input.
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-A</B>, <B>--show-all</B><DD>
|
|
equivalent to <B>-vET</B>
|
|
<DT id="2"><B>-b</B>, <B>--number-nonblank</B><DD>
|
|
number nonempty output lines, overrides <B>-n</B>
|
|
<DT id="3"><B>-e</B><DD>
|
|
equivalent to <B>-vE</B>
|
|
<DT id="4"><B>-E</B>, <B>--show-ends</B><DD>
|
|
display $ at end of each line
|
|
<DT id="5"><B>-n</B>, <B>--number</B><DD>
|
|
number all output lines
|
|
<DT id="6"><B>-s</B>, <B>--squeeze-blank</B><DD>
|
|
suppress repeated empty output lines
|
|
<DT id="7"><B>-t</B><DD>
|
|
equivalent to <B>-vT</B>
|
|
<DT id="8"><B>-T</B>, <B>--show-tabs</B><DD>
|
|
display TAB characters as ^I
|
|
<DT id="9"><B>-u</B><DD>
|
|
(ignored)
|
|
<DT id="10"><B>-v</B>, <B>--show-nonprinting</B><DD>
|
|
use ^ and M- notation, except for LFD and TAB
|
|
<DT id="11"><B>--help</B><DD>
|
|
display this help and exit
|
|
<DT id="12"><B>--version</B><DD>
|
|
output version information and exit
|
|
</DL>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>EXAMPLES</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="13">cat f - g<DD>
|
|
Output f's contents, then standard input, then g's contents.
|
|
<DT id="14">cat<DD>
|
|
Copy standard input to standard output.
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Written by Torbjorn Granlund and Richard M. Stallman.
|
|
<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 cat 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>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+tac">tac</A></B>(1)
|
|
<P>
|
|
|
|
<BR>
|
|
|
|
Full documentation at: <<A HREF="https://www.gnu.org/software/coreutils/cat">https://www.gnu.org/software/coreutils/cat</A>>
|
|
<BR>
|
|
|
|
or available locally via: info '(coreutils) cat invocation'
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="15"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="16"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="17"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="18"><A HREF="#lbAE">EXAMPLES</A><DD>
|
|
<DT id="19"><A HREF="#lbAF">AUTHOR</A><DD>
|
|
<DT id="20"><A HREF="#lbAG">REPORTING BUGS</A><DD>
|
|
<DT id="21"><A HREF="#lbAH">COPYRIGHT</A><DD>
|
|
<DT id="22"><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:08 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|