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