v7 man page for pr

Query: pr

OS: v7

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

PR(1)							      General Commands Manual							     PR(1)

NAME
pr - print file
SYNOPSIS
pr [ option ] ... [ file ] ...
DESCRIPTION
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 speci- fied 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: -n Produce n-column output. +n Begin printing with page n. -h Take the next argument as a page header. -wn For purposes of multi-column output, take the width of the page to be n characters instead of the default 72. -ln Take the length of the page to be n lines instead of the default 66. -t Do not print the 5-line header or the 5-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 taken to be a tab. -m Print all files simultaneously, each in one column, Inter-terminal messages via write(1) are forbidden during a pr.
FILES
/dev/tty? to suspend messages.
SEE ALSO
cat(1)
DIAGNOSTICS
There are no diagnostics when pr is printing on a terminal. PR(1)
Related Man Pages
pr(1) - opensolaris
pr(1) - redhat
pr(1) - netbsd
pr(1) - opendarwin
pr(1) - osf1
Similar Topics in the Unix Linux Community
Extracting columns from multiple files with awk
Comparing the 2nd column in two different files and printing corresponding 9th columns in new file
Awk
Print the column content based on the header
How to print 1 file then when finished another file prints beside it?