.TH CAT 1 .SH NAME cat \- catenate and print .SH SYNOPSIS .B cat file ... .SH DESCRIPTION .I cat reads each .I file in sequence and writes it on the standard output. Thus .IP cat file .LP prints the file and .IP cat file1 file2 >file3 .LP concatenates the first two files and places the result on the third. .PP If no .I file is given, or if the argument `\-' is encountered, .I cat reads from the standard input. Output is buffered in blocks matching the input. .SH SEE ALSO pr(1), cp(1) .SH BUGS Beware of `cat a b >a' and `cat a b >b', which destroy input files before reading them.