SysIII/usr/src/man/man1/cat.1

Compare this file to the similar file:
Show the results in this format:

.TH CAT 1
.SH NAME
cat \- concatenate and print files
.SH SYNOPSIS
.B cat
[
.B \-u
]
[
.B \-s
]
file .\|.\|.
.SH DESCRIPTION
.I Cat\^
reads each
.I file\^
in sequence
and writes it on the standard output.
Thus:
.PP
.RS
cat file
.RE
.PP
prints the file, and:
.PP
.RS
cat file1 file2 >file3
.RE
.PP
concatenates the first two files and places the result on the third.
.PP
If no input file is given,
or if the argument
.B \-
is encountered,
.I cat\^
reads from the standard
input file.
Output is buffered in 512-byte blocks unless the
.B \-u
option is specified.
The
.B \-s
option makes
.I cat\^
silent about non-existent files.
No input file may be the same as the output file unless it is
a special file.
.SH SEE ALSO
cp(1), pr(1).