version 1.13, 2000/11/09 17:52:30 |
version 1.14, 2003/01/15 15:05:35 |
|
|
Optionally, the trailer can be replaced by a |
Optionally, the trailer can be replaced by a |
.Em <form-feed> |
.Em <form-feed> |
where this is more appropriate for the output device being used and |
where this is more appropriate for the output device being used and |
.Em <tab>s |
.Em <tab> Ns s |
can be expanded to input relative |
can be expanded to input relative |
.Em <spaces>s |
.Em <spaces> Ns s |
or |
or |
.Em <space>s |
.Em <space> Ns s |
can contracted to output relative |
can be contracted to output relative |
.Em <tab>s . |
.Em <tab> Ns s . |
The |
The |
.Nm pr |
.Nm pr |
utility also interprets |
utility also interprets |
.Em <form-feed>s |
.Em <form-feed> Ns s |
in the input as logical end of pages. |
in the input as the logical end of pages. |
.Pp |
.Pp |
When multiple column output is specified, |
When multiple column output is specified, |
text columns are of equal width. |
text columns are of equal width. |
|
|
of the formatted input. |
of the formatted input. |
.It Fl Ar column |
.It Fl Ar column |
Produce output that is |
Produce output that is |
.Ar columns |
.Ar column Ns s |
wide (default is 1) that is written vertically |
wide (default is 1) that is written vertically |
down each column in the order in which the text |
down each column in the order in which the text |
is received from the input file. |
is received from the input file. |
|
|
the minimum number of lines is used to display the output. |
the minimum number of lines is used to display the output. |
.It Fl a |
.It Fl a |
Modify the effect of the |
Modify the effect of the |
.Fl column |
.Fl Ar column |
option so that the columns are filled across the page in a round-robin order |
option so that the columns are filled across the page in a round-robin order |
(e.g., when column is 2, the first input line heads column |
(e.g., when column is 2, the first input line heads column |
1, the second heads column 2, the third is the second line |
1, the second heads column 2, the third is the second line |
in column 1, etc.). |
in column 1, etc.). |
This option requires the use of the |
This option requires the use of the |
.Fl column |
.Fl Ar column |
option. |
option. |
.It Fl d |
.It Fl d |
Produce output that is double spaced. |
Produce output that is double spaced. |
|
|
.Em <tab> |
.Em <tab> |
characters in the input are expanded into the appropriate |
characters in the input are expanded into the appropriate |
number of |
number of |
.Em <space>s . |
.Em <space> Ns s. |
If any nondigit character, |
If any nondigit character, |
.Ar char , |
.Ar char , |
is specified, it is used as the input tab character. |
is specified, it is used as the input tab character. |
|
|
in the header line. |
in the header line. |
.It Fl i Ar \&[char\&]\&[gap\&] |
.It Fl i Ar \&[char\&]\&[gap\&] |
In output, replace multiple |
In output, replace multiple |
.Em <space>s |
.Em <space> Ns s |
with |
with |
.Em <tab>s |
.Em <tab> Ns s |
whenever two or more |
whenever two or more |
adjacent |
adjacent |
.Em <space>s |
.Em <space> Ns s |
reach column positions |
reach column positions |
.Ar gap+1 , |
.Ar gap+1 , |
.Ar 2*gap+1 , |
.Ar 2*gap+1 , |
|
|
.It Fl o Ar offset |
.It Fl o Ar offset |
Each line of output is preceded by |
Each line of output is preceded by |
.Ar offset |
.Ar offset |
.Em <spaces>s . |
.Em <spaces> Ns s. |
If the |
If the |
.Fl o |
.Fl o |
option is not specified, the default is zero. |
option is not specified, the default is zero. |
|
|
Separate text columns by the single character |
Separate text columns by the single character |
.Ar char |
.Ar char |
instead of by the appropriate number of |
instead of by the appropriate number of |
.Em <space>s |
.Em <space> Ns s |
(default for |
(default for |
.Ar char |
.Ar char |
is the |
is the |
|
|
file printing is complete (when printing to a terminal). |
file printing is complete (when printing to a terminal). |
.Sh NOTES |
.Sh NOTES |
The interpretation of |
The interpretation of |
.Em <form-feed>s |
.Em <form-feed> Ns s |
in the input stream is that they are special |
in the input stream is that they are special |
.Em <newline>s |
.Em <newline> Ns s |
which have the side effect of causing a page break. |
which have the side effect of causing a page break. |
While this works |
While this works |
correctly for all cases, strict interpretation also implies that the |
correctly for all cases, strict interpretation also implies that the |
|
|
Using the |
Using the |
.Fl m |
.Fl m |
option with one column provides a way to truncate single column output but |
option with one column provides a way to truncate single column output but |
there's no way to wrap long times to a fixed line width. |
there's no way to wrap long lines to a fixed line width. |
.Pp |
.Pp |
The default of |
The default of |
.Em <tab> |
.Em <tab> |