cat

From S23Wiki

                                    /\             /\
                                   |`\\_,--="=--,_//`|
                                   \ ."  :'. .':  ". /
                                  ==)  _ :  '  : _  (==
                                    |>/O\   _   /O\<|
                                    | \-"~` _ `~"-/ |
                                   >|`===. \_/ .===`|<
                             .-"-.   \==='  |  '===/   .-"-.
.---------------------------{'. '`}---\,  .-'-.  ,/---{.'. '}---------------------------.
 )                          `"---"`     `~-===-~`     `"---"`                          (
(  The cat (Felis silvestris catus) is a small carnivorous species of nocturnal mammal  )
 )                                                                                     (
'---------------------------------------------------------------------------------------'

see also: mansearch, man2html


Table of contents
 

NAME

cat - concatenate files and print on the standard output  

SYNOPSIS

cat [OPTION] [FILE]...  

DESCRIPTION

Concatenate FILE(s), or standard input, to standard output.

-A, --show-all
equivalent to -vET
-b, --number-nonblank
number nonblank output lines
-e
equivalent to -vE
-E, --show-ends
display $ at end of each line
-n, --number
number all output lines
-s, --squeeze-blank
never more than one single blank line
-t
equivalent to -vT
-T, --show-tabs
display TAB characters as ^I
-u
(ignored)
-v, --show-nonprinting
use ^ and M- notation, except for LFD and TAB
--help
display this help and exit
--version
output version information and exit

With no FILE, or when FILE is -, read standard input.  

EXAMPLES

cat f - g
Output f's contents, then standard input, then g's contents.
cat
Copy standard input to standard output.
 

AUTHOR

Written by Torbjorn Granlund and Richard M. Stallman.  

REPORTING BUGS

Report bugs to <bug-coreutils@gnu.org>.  

COPYRIGHT

Copyright © 2006 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.  

SEE ALSO

The full documentation for cat is maintained as a Texinfo manual. If the info and cat programs are properly installed at your site, the command
info cat

should give you access to the complete manual.


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
AUTHOR
REPORTING BUGS
COPYRIGHT
SEE ALSO

Updated Time:: 19:56:02 GMT, November 22, 2008
This is the JargonFile (V4.00) entry for cat - Next: catatonic, Prev: casting the runes
:cat: [from catenate via [[[[Unix]]]] cat(1)] /vt./ 1. [techspeak] To spew an entire file to the screen or some other output sink without pause. 2. By extension, to dump large amounts of data at an unprepared target or with no intention of browsing it carefully. Usage: considered silly. Rare outside Unix sites. See also dd, BLT. Among Unix fans, cat(1) is considered an excellent example of user-interface design, because it delivers the file contents without such verbosity as spacing or headers between the files, and because it does not require the files to consist of lines of text, but works with any sort of data. Among Unix haters, cat(1) is considered the canonical example of *bad* user-interface design, because of its woefully unobvious name. It is far more often used to blast a file to standard output than to concatenate two files. The name cat for the former operation is just as unintuitive as, say, LISPs cdr. Of such oppositions are holy wars made....
* (text is auto-included via JargonExtension by mutante using jargon with VERSION 4.0.0, 24 JUL 1996 - JargonFile by Eric S. Raymond is in the public domain)


Retrieved from "http://s23.org/wiki/cat"
Personal tools