home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V6 / usr / man / man1 / pr.1 < prev    next >
Encoding:
Text File  |  1975-06-26  |  1.6 KB  |  79 lines

  1. .th PR I 3/20/74
  2. .sh NAME
  3. pr  \*-  print file
  4. .sh SYNOPSIS
  5. .bd pr
  6. [
  7. .bd \*-h
  8. .it header
  9. ] [ \fB\*-\fIn\fR ] [ \fB+\fIn\fR ]
  10. [ \fB\*-w\fIn\fR ] [ \fB\*-l\fIn\fR ] [ \fB\*-t\fR ] [
  11. .bd \*-s\fIc\fB
  12. ] [
  13. .bd \*-m
  14. ]
  15. name
  16. .li
  17. . . .
  18. .sh DESCRIPTION
  19. .it Pr
  20. produces a printed listing of one or more files.
  21. The output is separated into pages headed by a date,
  22. the name of the file or a specified header, and the page number.
  23. If there are no file arguments,
  24. .it pr
  25. prints its standard
  26. input, and is thus usable as a filter.
  27. .s3
  28. Options apply to all following files but may be reset
  29. between files:
  30. .s3
  31. .lp +5 5
  32. \fB\*-\fIn\fR    produce \fIn\fR-column output
  33. .s3
  34. .lp +5 5
  35. \fB+\fIn\fR    begin printing with page \fIn\fR
  36. .s3
  37. .lp +5 5
  38. \fB\*-h\fR    treat the next argument as a header to be used instead of the file name
  39. .s3
  40. .lp +5 5
  41. \fB\*-w\fIn\fR    for purposes of multi-column output,
  42. take the width of the page to be
  43. .it n
  44. characters instead of the default 72
  45. .s3
  46. .lp +5 5
  47. \fB\*-l\fIn\fR    take the length of the page to be
  48. .it n
  49. lines instead of the default 66
  50. .s3
  51. .lp +5 5
  52. \fB\*-t\fR    do not print the 5-line header or the
  53. 5-line trailer normally supplied for each page
  54. .s3
  55. .lp +5 5
  56. \fB\*-s\fIc\fR    separate columns by the single character
  57. .it c
  58. instead of by the appropriate amount of white space.
  59. A missing
  60. .it c
  61. is taken to be a tab.
  62. .s3
  63. .lp +5 5
  64. \fB\*-m\fR    print all files simultaneously,
  65. each in one column
  66. .s3
  67. .i0
  68. Interconsole messages via write(I) are
  69. forbidden during a
  70. .it pr.
  71. .sh FILES
  72. /dev/tty?
  73. to suspend messages.
  74. .sh "SEE ALSO"
  75. cat (I), cp (I)
  76. .sh DIAGNOSTICS
  77. none; files not found are ignored
  78. .sh BUGS
  79.