CAT(1) DOMAIN/IX Reference Manual (SYS5) CAT(1)
NAME
cat - concatenate and print files
USAGE
cat [ -u ] [ -s ] [ -v [ -t ] [ -e ] ] file ...
DESCRIPTION
Cat reads each named file in sequence, then writes it on the
standard output. If file is omitted and - is used instead,
cat reads from standard input.
OPTIONS
-u Produce unbuffered output.
-s Ignore files that do not exist.
-v Make nonprinting characters visible (except for tabs,
newlines, and form feeds). Print control characters as
^X (CONTROL-X), the DEL character (octal 0177) as a
caret with a question mark (^?), and non-ASCII charac-
ters (with the high bit set) as M-x (where x is the
character specified by the seven low-order bits).
-t With the -v option, print tabs as ^I.
-e With the -v option, print a dollar sign ($) at the end
of each line (prior to the newline).
Note that cat ignores the -t and -e options if the -v option
is not specified.
EXAMPLES
To write file1 on standard output, type the following:
cat file1
To write standard input to file1, use this command:
cat >file1
To write file1 and file2 to file3, type this:
cat file1 file2 >file3
CAUTIONS
Command formats such as cat file1 file2 >file1 destroy the
original data in file1. Be careful when using Shell special
characters.
RELATED INFORMATION
cp (1), pr (1).
Printed 6/10/85 CAT-1