Research V3 development
[unix-history] / man / man1 / cat.1
.pa 1
.he 'CAT (I)'1/15/73'CAT (I)'
.ti 0
NAME cat -- concatenate and print
.sp
.ti 0
SYNOPSIS cat\b\b\b___ file\e91\e8 ...
.sp
.ti 0
DESCRIPTION cat\b\b\b___
reads each file in sequence
and writes it on the standard output.
Thus:
.sp
.ti +3
cat\b\b\b___ file\b\b\b\b____
.sp
is about the easiest way to print a file.
Also:
.sp
.ti +3
cat\b\b\b___ file1\b\b\b\b\b_____ file2\b\b\b\b\b_____ >file3\b\b\b\b\b\b______
.sp
is about the easiest way to concatenate
files.
.sp
If no input file is given cat\b\b\b___ reads from the standard
input file.
.sp
If the argument "-" is encountered, cat reads from
the standard input file.
.sp
.ti 0
FILES --
.sp
.ti 0
SEE ALSO pr(I), cp(I)
.sp
.ti 0
DIAGNOSTICS none;
if a file cannot be found it is ignored.
.sp
.ti 0
BUGS cat x y >x and cat x y >y cause strange results.