MPE/iX Shell and Utilities Reference Manual, Vol 2

pr(1) MPE/iX Shell and Utilities pr(1)
–o n precedes each line of output with n spaces.
–p pauses between pages if output is to a terminal device. pr sounds the bell and waits
for a carriage return from the controlling terminal (not the input files).
–r suppresses error messages due to failures when opening files.
–s[char]
separates text columns with the single character char instead of the appropriate num-
ber of spaces. This character is never replaced by the output tab character. The
default value for char is the tab character. Normally pr pads each column with
spaces or truncates it to the exact column width.
–t does not display the headers and trailers but uses the full length of the page for file
output.
–W folds lines at the column width when you do not specify the –s option; pr treats
each separate part of the line as a separate line.
–w n sets the width of the page to n column positions. If you do not specify this option, the
default page width depends on whether or not you specified the –s option. If you did
specify the –s option, the default width is 512; otherwise, it is 72. This width does
not normally apply to single column output; however, single column output with the
–W option does use this width.
ENVIRONMENT VARIABLES
pr uses the following environment variable:
TZ
contains the local time zone. pr uses this value when displaying times in header
lines.
DIAGNOSTICS
Possible exit status values are:
0 Successful completion.
1 An error occurred.
Messages
Message: filename: system error
Cause: See syserror(3).
Action: See syserror(3).
Message: insufficient memory
Cause: pr ran out of system resources while allocating buffer space.
Action: Free up more system resources.
Commands and Utilities 1-435