Research V4 development
[unix-history] / man / man1 / cat.1
CommitLineData
e4c4b514
KT
1.th CAT I 1/15/73
2.sh NAME
3cat \*- concatenate and print
4.sh SYNOPSIS
5.bd cat
6file ...
7.sh DESCRIPTION
8.it Cat
9reads each file in sequence
10and writes it on the standard output.
11Thus:
12.s3
13.bd " cat file"
14.s3
15is about the easiest way to print a file.
16Also:
17.s3
18.bd " cat file1 file2 >file3"
19.s3
20is about the easiest way to concatenate
21files.
22.s3
23If no input file is given
24.it cat
25reads from the standard
26input file.
27.s3
28If the argument \fB\*-\fR is encountered,
29.it cat
30reads from
31the standard input file.
32.s3
33.sh "SEE ALSO"
34pr(I), cp(I)
35.sh DIAGNOSTICS
36none;
37if a file cannot be found it is ignored.
38.sh BUGS
39.bd "cat x y >x"
40and
41.bd "cat x y >y"
42cause strange results.