cat.html 890 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <html>
  2. <head>
  3. <title>cat</title>
  4. <body bgcolor=#ffffff>
  5. <h2 align=center>cat</h2>
  6. <h4 align=center>OS/161 Reference Manual</h4>
  7. <h3>Name</h3>
  8. cat - concatenate and print files
  9. <h3>Synopsis</h3>
  10. /bin/cat <em>files...</em>
  11. <h3>Description</h3>
  12. cat prints the files listed on its command line in order to its
  13. standard output. If the magic filename "-" is encountered, cat
  14. prints its standard input up to the first EOF.
  15. <p>
  16. With no arguments, cat prints its standard input.
  17. <p>
  18. cat takes no options.
  19. <p>
  20. <h3>Requirements</h3>
  21. cat uses the following syscalls:
  22. <ul>
  23. <li><A HREF=../syscall/open.html>open</A>
  24. <li><A HREF=../syscall/read.html>read</A>
  25. <li><A HREF=../syscall/write.html>write</A>
  26. <li><A HREF=../syscall/close.html>close</A>
  27. <li><A HREF=../syscall/_exit.html>_exit</A>
  28. </ul>
  29. cat should function properly once the basic system calls assignment is
  30. completed.
  31. </body>
  32. </html>