Main index | Section 1 | 日本語 | Deutsch | Options |
If standard output is associated with a terminal, diagnostic messages are suppressed until the pr utility has completed processing.
When multiple column output is specified, text columns are of equal width. By default text columns are separated by at least one <blank>. Input lines that do not fit into a text column are truncated. Lines are not truncated under single column output.
amp;+page | |
Begin output at page number page of the formatted input. | |
column | |
Produce output that is
columns
wide (default is 1) that is written vertically
down each column in the order in which the text
is received from the input file.
The options
| |
| |
Modify the effect of the
| |
| |
Produce output that is double spaced. An extra <newline> character is output following every <newline> found in the input. | |
| |
[char] [gap] Expand each input <tab> to the next greater column position specified by the formula n*gap+1, where n is an integer > 0. If gap is zero or is omitted the default is 8. All <tab> characters in the input are expanded into the appropriate number of <space>s. If any nondigit character, char, is specified, it is used as the input tab character. | |
| |
Use a <form-feed> character for new pages, instead of the default behavior that uses a sequence of <newline> characters. | |
| |
Same as
| |
| |
Use the string header to replace the file name in the header line. | |
| |
[char] [gap] In output, replace multiple <space>s with <tab>s whenever two or more adjacent <space>s reach column positions gap+1, 2*gap+1, etc. If gap is zero or omitted, default <tab> settings at every eighth column position is used. If any nondigit character, char, is specified, it is used as the output <tab> character. | |
| |
Use locale specified as argument instead of one found in environment. Use "C" to reset locale to default. | |
| |
Override the 66 line default and reset the page length to
lines.
If
lines
is not greater than the sum of both the header and trailer
depths (in lines), the
pr
utility suppresses output of both the header and trailer, as if the
| |
| |
Merge the contents of multiple files.
One line from each file specified by a file operand is
written side by side into text columns of equal fixed widths, in
terms of the number of column positions.
The number of text columns depends on the number of
file operands successfully opened.
The maximum number of files merged depends on page width and the
per process open file limit.
The options
| |
| |
[char]
[width]
Provide
width
digit line numbering.
The default for
width,
if not specified, is 5.
The number occupies the first
width
column positions of each text column or each line of
| |
| |
Each line of output is preceded by
offset
<spaces>s.
If the
| |
| |
Pause before each page if the standard output is a terminal. pr will write an alert character to standard error and wait for a carriage return to be read on the terminal. | |
| |
Write no diagnostic reports on failure to open a file. | |
| |
Separate text columns by the single character char instead of by the appropriate number of <space>s (default for char is the <tab> character). | |
| |
Print neither the five-line identifying header nor the five-line trailer usually supplied for each page. Quit printing after the last line of each file without spacing to the end of the page. | |
| |
Set the width of the line to
width
column positions for multiple text-column output only.
If the
| |
file | A pathname of a file to be printed. If no file operands are specified, or if a file operand is '-', the standard input is used. The standard input is used only if no file operands are specified, or if a file operand is '-'. |
The
Error messages are written to standard error during the printing process (if output is redirected) or after all successful file printing is complete (when printing to a terminal).
PR (1) | July 3, 2004 |
Main index | Section 1 | 日本語 | Deutsch | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | How do you pronounce UNIX ? You Nix ! | ” |