| Rev | Line | |
|---|
| [9] | 1 | .TH CAT 1
|
|---|
| 2 | .SH NAME
|
|---|
| 3 | cat \- concatenate files and write them to stdout
|
|---|
| 4 | .SH SYNOPSIS
|
|---|
| 5 | \fBcat\fR [\fB\-u\fR]\fR [\fIfile\fR] ...\fR
|
|---|
| 6 | .br
|
|---|
| 7 | .de FL
|
|---|
| 8 | .TP
|
|---|
| 9 | \\fB\\$1\\fR
|
|---|
| 10 | \\$2
|
|---|
| 11 | ..
|
|---|
| 12 | .de EX
|
|---|
| 13 | .TP 20
|
|---|
| 14 | \\fB\\$1\\fR
|
|---|
| 15 | # \\$2
|
|---|
| 16 | ..
|
|---|
| 17 | .SH OPTIONS
|
|---|
| 18 | .FL "\-u" "Unbuffered output"
|
|---|
| 19 | .SH EXAMPLES
|
|---|
| 20 | .EX "cat file" "Display file on the terminal"
|
|---|
| 21 | .EX "cat file1 file2 | lp" "Concatenate 2 files and print result"
|
|---|
| 22 | .SH DESCRIPTION
|
|---|
| 23 | .PP
|
|---|
| 24 | .I Cat
|
|---|
| 25 | concatenates its input files and copies the result to \fIstdout\fR.
|
|---|
| 26 | If no input file is named, or \- is encountered as a file name, standard
|
|---|
| 27 | input is used.
|
|---|
| 28 | Output is buffered in 512 byte blocks unless the
|
|---|
| 29 | .B \-u
|
|---|
| 30 | flag is given.
|
|---|
| 31 | If you just want to copy a file, \fIcp\fR should be used since it is faster.
|
|---|
| 32 | .SH "SEE ALSO"
|
|---|
| 33 | .BR cp (1).
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.