Ausam/doc/man/man1/pr.1

Find at most related files.
including files from this version of Unix.

.th PR I 3/20/74
.sh NAME
pr  \*-  print file
.sh SYNOPSIS
.bd pr
[
.bd options
]
name ...
.sh DESCRIPTION
.it Pr
produces a printed listing of one or more files.
The output 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,
.it pr
prints its standard
input, and is thus usable as a filter.
.s3
Options apply to all following files but may be reset
between files.
.s3
.ft I
.lp +12 11
option	meaning
.ft R
.s3
.lp +12 11
\fB\*-\fIn\fR	produce \fIn\fR-column output
.s3
.lp +12 11
\fB+\fIn\fR	begin printing with page \fIn\fR
.s3
.lp +12 11
\fB\*-h\fR \fIheader\fR	treat \fIheader\fR as a header to be used instead of the file name
.s3
.lp +12 11
\fB\*-w\fIn\fR	for purposes of multi-column output,
take the width of the page to be
.it n
characters instead of the default 72
.s3
.lp +12 11
\fB\*-l\fIn\fR	take the length of the page to be
.it n
lines instead of the default 66
.s3
.lp +12 11
\fB\*-t\fR	do not print the 5-line header or the
5-line trailer normally supplied for each page
.s3
.lp +12 11
\fB\*-s\fIc\fR	separate columns by the single character
.it c
instead of by the appropriate amount of white space.
A missing
.it c
is taken to be a tab.
.s3
.lp +12 11
\fB\*-m\fR	print all files simultaneously,
each in one column
.s3
.lp +12 11
\fB\*-f\fR	use a form-feed character to take a new
page while printing
.s3
.lp +12 11
\fB\*-b\fR \fIstring\fR	use \fIstring\fR as a sub-heading
.s3
.lp +12 11
\fB-p\fIn\fR	start numbering pages from \fIn\fR
.i0
.dt
.s3
Interconsole messages via  \fIwrite\fR (I) are
forbidden during a
.it pr.
.sh FILES
/dev/tty?	to suspend messages
.sh "SEE ALSO"
cat (I), cp (I)
.sh BUGS
The
.bd \*-f
flag does not work with
multi column output.