Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pr.bsd(1) — Domain/IX SR9.2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

PR(1)

NAME

pr − print file

USAGE

pr [ option ] ...  [ file ] ... 

DESCRIPTION

Pr produces a printed listing of one or more files. It separates the output 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, pr prints its standard input.  Options apply to all following files but may be reset between files. 

OPTIONS

−n Produce n-column output.

+n Begin printing with page n. 

−h Take the next argument as a page header. 

−wn For purposes of multicolumn output, take the width of the page to be n characters instead of the default 72. 

−f Use form feeds instead of newlines to separate pages.  Pr assumes that a form feed uses up two blank lines at the top of a page.  Thus, this option does not affect the effective page length. 

−ln Take the length of the page to be n lines instead of the default 66. 

−t Do not print the five-line header or the five-line trailer normally supplied for each page. 

−sc Separate columns by the single character c instead of by the appropriate amount of white space.  A missing c is interpreted as a tab. 

−m Print all files simultaneously, each in one column. 

DIAGNOSTICS

Pr produces no diagnostics when printing on a terminal. 

RELATED INFORMATION

cat (1). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026