BSD 4_3_Tahoe development
[unix-history] / usr / man / cat1 / pr.0
PR(1) UNIX Programmer's Manual PR(1)
N\bNA\bAM\bME\bE
pr - print file
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
p\bpr\br [ option ] ... [ file ] ...
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
_\bP_\br produces a printed listing of one or more _\bf_\bi_\bl_\be_\bs. The out-
put is separated into pages headed by a date, the name of
the file or a specified header, and the page number. If
there are no file arguments, _\bp_\br prints its standard input.
Options apply to all following files but may be reset
between files:
-\b-_\bn Produce _\bn-column output.
+\b+_\bn Begin printing with page _\bn.
-\b-h\bh Take the next argument as a page header.
-\b-w\bw_\bn For purposes of multi-column output, take the width of
the page to be _\bn characters instead of the default 72.
-\b-f\bf Use formfeeds instead of newlines to separate pages. A
formfeed is assumed to use up two blank lines at the
top of a page. (Thus this option does not affect the
effective page length.)
-\b-l\bl_\bn Take the length of the page to be _\bn lines instead of
the default 66.
-\b-t\bt Do not print the 5-line header or the 5-line trailer
normally supplied for each page.
-\b-s\bs_\bc Separate columns by the single character _\bc instead of
by the appropriate amount of white space. A missing _\bc
is taken to be a tab.
-\b-m\bm Print all _\bf_\bi_\bl_\be_\bs simultaneously, each in one column,
Inter-terminal messages via _\bw_\br_\bi_\bt_\be(1) are forbidden during a
_\bp_\br.
F\bFI\bIL\bLE\bES\bS
/dev/tty? to suspend messages.
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
cat(1)
D\bDI\bIA\bAG\bGN\bNO\bOS\bST\bTI\bIC\bCS\bS
There are no diagnostics when _\bp_\br is printing on a terminal.
Printed 7/9/88 April 29, 1985 1