01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PR (l) PR (l)<br />

NAME<br />

pr - print files<br />

SYNOPSIS<br />

pr [ options ] [ files ]<br />

DESCRIPTION<br />

Pr prints the named files on the standard output. If file is -, or<br />

if no files are specified, the standard input is assumed. By default,<br />

the listing is separated into pages, each headed by the page<br />

number, a date and time, and the name of the file.<br />

By default, columns are of equal width, separated by at least one<br />

space; lines which do not fit are truncated. If the -s option is<br />

used, lines are not truncated and columns are separated by the<br />

separation character.<br />

If the standard output is associated with a terminal, error messages<br />

are withheld until pr has completed printing.<br />

The below options may appear singly or be combined in any order:<br />

+k Begin printing with page k (default is 1).<br />

-k Produce k-column output (default is 1). The options -e<br />

and -i are assumed for multi-column output.<br />

-a Print multi-column output across the page.<br />

-m Merge and print all files simultaneously, one per column<br />

(overrides the -k, and -a options).<br />

-d Double-space the output.<br />

-eck Expand input tabs to character positions k+1, 2*k+1,<br />

3*k+1, etc. If k is 0 or is omitted, default tab settings at<br />

every eighth position are assumed. Tab characters in the<br />

input are expanded into the appropriate number of spaces.<br />

If c (any non-digit character) is given, it is treated as the<br />

input tab character (default for c is the tab character).<br />

-ick In output, replace white space wherever possible by inserting<br />

tabs to character positions k+1, 2*k+1, 3*k+1, etc.<br />

If k is 0 or is omitted, default tab settings at every eighth<br />

position are assumed. If c (any non-digit character) is<br />

given, it is treated as the output tab character (default for<br />

c is the tab character).<br />

-nck Provide k-digit line numbering (default for k is 5). The<br />

number occupies the first k + 1 character positions of each<br />

column of normal output or each line of -m output. If c<br />

(any non-digit character) is given, it is appended to the<br />

line number to separate it from whatever follows (default<br />

for c is a tab).<br />

-w k Set the width of a line to k character positions (default is<br />

72 for equal-width multi-column output, no limit otherwise).<br />

- 1 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!