diff options
| author | Charles.Forsyth <devnull@localhost> | 2006-12-22 20:52:35 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2006-12-22 20:52:35 +0000 |
| commit | 46439007cf417cbd9ac8049bb4122c890097a0fa (patch) | |
| tree | 6fdb25e5f3a2b6d5657eb23b35774b631d4d97e4 /man/1/cat | |
| parent | 37da2899f40661e3e9631e497da8dc59b971cbd0 (diff) | |
20060303-partial
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. |
