diff options
Diffstat (limited to 'man/1/cat')
| -rw-r--r-- | man/1/cat | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/man/1/cat b/man/1/cat new file mode 100644 index 00000000..dbd0c90d --- /dev/null +++ b/man/1/cat @@ -0,0 +1,49 @@ +.TH CAT 1 +.SH NAME +cat \- concatenate files +.SH SYNOPSIS +.B cat +[ +.B - +] +[ +.I file ... +] +.SH DESCRIPTION +.I Cat +reads each +.I file +in turn and writes it on the standard output. +Thus +.IP +.EX +cat file +.EE +.PP +prints the file to standard output, and the following +.IP +.EX +cat file1 file2 >file3 +.EE +.PP +concatenates two files onto a third. +.PP +If no +.I file +is given, or where +.B \- +is given as an argument, +.I cat +reads from the standard input. +Output is buffered in blocks matching the input. +.SH SOURCE +.B /appl/cmd/cat.b +.SH "SEE ALSO" +.IR cp (1), +.IR stream (1) +.SH BUGS +Beware of +.B "cat a b >a" +and +.B "cat a b >b" +which destroy input files before reading them. |
