ref: 3b9c359adee736531f204ac53500edf16d7c0fb2
dir: /man/1/cat/
.TH CAT 1 .SH NAME cat \- concatenate files .SH SYNOPSIS .B cat [ .B - ] [ .I file ... ] .SH DESCRIPTION .I Cat reads each .I file in turn and writes it on the standard output. Thus .IP .EX cat file .EE .PP prints the file to standard output, and the following .IP .EX cat file1 file2 >file3 .EE .PP concatenates two files onto a third. .PP If no .I file is given, or where .B \- is given as an argument, .I cat reads from the standard input. Output is buffered in blocks matching the input. .SH SOURCE .B /appl/cmd/cat.b .SH "SEE ALSO" .IR cp (1), .IR stream (1) .SH BUGS Beware of .B "cat a b >a" and .B "cat a b >b" which destroy input files before reading them.