|
|
1.1 ! root 1: .TH PR 1 "18 January 1983" ! 2: .UC 4 ! 3: .SH NAME ! 4: pr \- print file ! 5: .SH SYNOPSIS ! 6: .B pr ! 7: [ option ] ... ! 8: [ file ] ... ! 9: .SH DESCRIPTION ! 10: .I Pr ! 11: produces a printed listing of one or more ! 12: .I files. ! 13: The output is separated into pages headed by a date, ! 14: the name of the file or a specified header, and the page number. ! 15: If there are no file arguments, ! 16: .I pr ! 17: prints its standard input. ! 18: .PP ! 19: Options apply to all following files but may be reset ! 20: between files: ! 21: .TP ! 22: .BI \- n ! 23: Produce ! 24: .IR n -column ! 25: output if the total number of lines is ! 26: greater than the page-length. ! 27: Each column will be truncated ! 28: to page-width/n characters. ! 29: .TP ! 30: .BI + n ! 31: Begin printing with page ! 32: .I n. ! 33: .TP ! 34: .B \-h ! 35: Take the next argument as a page header. ! 36: .TP ! 37: .BI \-w n ! 38: For purposes of multi-column output, ! 39: take the width of the page to be ! 40: .I n ! 41: characters instead of the default 72. ! 42: .TP ! 43: .BI \-f ! 44: Use formfeeds instead of newlines to separate pages. ! 45: A formfeed is assumed to use up two blank lines at the top of a page. ! 46: (Thus this option does not affect the effective page length.) ! 47: .TP ! 48: .BI \-l n ! 49: Take the length of the page to be ! 50: .I n ! 51: lines instead of the default 66. ! 52: .TP ! 53: .B \-t ! 54: Do not print the 5-line header or the ! 55: 5-line trailer normally supplied for each page. ! 56: .TP ! 57: .BI \-s c ! 58: Separate columns by the single character ! 59: .I c ! 60: instead of by the appropriate amount of white space. ! 61: A missing ! 62: .I c ! 63: is taken to be a tab. ! 64: .TP ! 65: .B \-m ! 66: Print all ! 67: .I files ! 68: simultaneously, ! 69: each in one column, ! 70: .PP ! 71: Inter-terminal messages via ! 72: .IR write (1) ! 73: are ! 74: forbidden during a ! 75: .IR pr . ! 76: .SH FILES ! 77: /dev/tty? ! 78: to suspend messages. ! 79: .SH "SEE ALSO" ! 80: cat(1) ! 81: .SH DIAGNOSTICS ! 82: There are no diagnostics when ! 83: .I pr ! 84: is printing on a terminal.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.