summaryrefslogtreecommitdiff
path: root/static/unix-v10/man1/cat.1
blob: f366ec7c63afe774631c1cc4fb67de8daf072ce9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
.pa 1
.he 'CAT (I)'1/15/73'CAT (I)'
.ti 0
NAME		cat -- concatenate and print
.sp
.ti 0
SYNOPSIS	cat___ file918 ...
.sp
.ti 0
DESCRIPTION	cat___
reads each file in sequence
and writes it on the standard output.
Thus:
.sp
.ti +3
cat___ file____
.sp
is about the easiest way to print a file.
Also:
.sp
.ti +3
cat___ file1_____ file2_____ >file3______
.sp
is about the easiest way to concatenate
files.
.sp
If no input file is given cat___ 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.