CAT.1
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- .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).