CAT.1
Upload User: jnzhq888
Upload Date: 2007-01-18
Package Size: 51694k
Code Size: 1k
Category:

OS Develop

Development Platform:

WINDOWS

  1. .TH CAT 1
  2. .SH NAME
  3. cat - concatenate files and write them to stdout
  4. .SH SYNOPSIS
  5. fBcatfR [fB-ufR]fR [fIfilefR] ...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 | lpr" "Concatenate 2 files and print result"
  22. .SH DESCRIPTION
  23. .PP
  24. .I Cat
  25. concatenates its input files and copies the result to fIstdoutfR.
  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, fIcpfR should be used since it is faster.
  32. .SH "SEE ALSO"
  33. .BR cp (1).