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