

CAT (1)                     02/16/78                      CAT (1)


NAME
       cat -- concatenate and print text files

SYNOPSIS
       cat [file] ... 

DESCRIPTION
       Cat  reads  each  file  in  sequence  and writes it on the
       standard output.  Thus

            cat file

       prints the file;

            cat file1 file2 >file3

       concatenates the first two files and places the result  on
       the third, and,

            cat file >>out

       appends 'file' onto the back of 'out'. 

       If  no  argument  or  '-' is given, cat reads the standard
       input. 

FILES
       None

SEE ALSO
       The "Software Tools" book, p. 77. 
       crt, pg (if implemented)

DIAGNOSTICS
       A message is printed if a file cannot be  opened;  further
       processing is terminated. 

AUTHORS

       B. Kernighn & P. J. Plauger

BUGS
       Using  the same file for output as well as input may cause
       strange results. 














                               -1-


