CAT(1) UNIX Programmer's Manual CAT(1) NAME cat - catenate and print SYNOPSIS cat [ - ] [ -b ] [ -e ] [ -n ] [ -s ] [ -t ] [ -u ] [ -v ] file ... DESCRIPTION _C_a_t reads each _f_i_l_e in sequence and writes it on the stan- dard output. Thus cat file prints the file, and cat file1 file2 >file3 concatenates the first two files and places the result on the third. By default, output is buffered in 1024-byte blocks unless the standard output is a termiinal, in which case it is line buffered. Optiions are: - Read from standard input. -b This, together with -n cause numbers to be omitted from blank lines. -e Follow ends of lines with the $ character. -n Number each line. -s Cause the output to be single spaced by omitting multi- ple adjacent blank lines. -t Print tabs as ^I. -u Do not buffer the output. -v Print non-printing characters in a visible way. Con- trol characters are printed as ^X (for control-x); the delete character (octal 0177) is printed as ^?. Non- ascii characters (those with 0200 bit set) are printed as M- (for meta) followed by the character represented by the low order 7 bits. (for meta) followed by the character of the low 7 bits. SEE ALSO cp(1), ex(1), more(1), od(1), pr(1), tail(1) BUGS Beware of `cat a b >a' and `cat a b >b', which destroy the input files before reading them. Printed 7/22/83 1