forsyth20121205-174063a80cc13 years agoHistory
49 lines · 666 B · Text
RawDownload
.TH CAT 1.SH NAMEcat \- concatenate files.SH SYNOPSIS.B cat[.B -][.I file ...].SH DESCRIPTION.I Catreads each.I filein turn and writes it on the standard output.Thus.IP.EXcat file.EE.PPprints the file to standard output, and the following.IP.EXcat file1 file2 >file3.EE.PPconcatenates two files onto a third..PPIf no.I fileis given, or where.B \-is given as an argument,.I catreads 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 BUGSBeware of.B "cat a b >a"and.B "cat a b >b"which destroy input files before reading them.