CAT.1
上传用户:jnzhq888
上传日期:2007-01-18
资源大小:51694k
文件大小:1k
- .TH CAT 1
- .SH NAME
- cat - concatenate files and write them to stdout
- .SH SYNOPSIS
- fBcatfR [fB-ufR]fR [fIfilefR] ...fR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH OPTIONS
- .FL "-u" "Unbuffered output"
- .SH EXAMPLES
- .EX "cat file" "Display file on the terminal"
- .EX "cat file1 file2 | lpr" "Concatenate 2 files and print result"
- .SH DESCRIPTION
- .PP
- .I Cat
- concatenates its input files and copies the result to fIstdoutfR.
- If no input file is named, or - is encountered as a file name, standard
- input is used.
- Output is buffered in 512 byte blocks unless the
- .B -u
- flag is given.
- If you just want to copy a file, fIcpfR should be used since it is faster.
- .SH "SEE ALSO"
- .BR cp (1).