1PR(1)                       General Commands Manual                      PR(1)
2
3
4

NAME

6       pr  -  print file
7

SYNOPSIS

9       pr [ option ] ...  [ file ] ...
10

DESCRIPTION

12       Pr produces a printed listing of one or more files.  The output is sep‐
13       arated into pages headed by a date, the name of the file or a specified
14       header, and the page number.  If there are no file arguments, pr prints
15       its standard input.
16
17       Options apply to all following files but may be reset between files:
18
19       -n     Produce n-column output.
20
21       +n     Begin printing with page n.
22
23       -h     Take the next argument as a page header.
24
25       -wn    For purposes of multi-column output, take the width of the  page
26              to be n characters instead of the default 72.
27
28       -ln    Take the length of the page to be n lines instead of the default
29              66.
30
31       -t     Do not print the 5-line header or the  5-line  trailer  normally
32              supplied for each page.
33
34       -sc    Separate  columns  by  the  single character c instead of by the
35              appropriate amount of white space.  A missing c is taken to be a
36              tab.
37
38       -m     Print all files simultaneously, each in one column,
39
40       Inter-terminal messages via write(1) are forbidden during a pr.
41

FILES

43       /dev/tty?  to suspend messages.
44

SEE ALSO

46       cat(1)
47

DIAGNOSTICS

49       There are no diagnostics when pr is printing on a terminal.
50
51
52
53                                                                         PR(1)
Impressum