|
|
1.1 root 1: .TH PR 1
2: .CT 1 files
3: .SH NAME
4: pr \(mi print file
5: .SH SYNOPSIS
6: .B pr
7: [
8: .I option ...
9: ]
10: [
11: .I file ...
12: ]
13: .SH DESCRIPTION
14: .I Pr
15: produces a printed listing of one or more
16: .I files.
17: The output is separated into pages headed by a date,
18: the name of the file or a specified header, and the page number.
19: For no file arguments,
20: or for a file argument
21: .LR - ,
22: .I pr
23: prints its standard input.
24: .PP
25: Options apply to all following files but may be reset
26: between files:
27: .TP
28: .BI - n
29: Produce
30: .IR n -column
31: output.
32: .TP
33: .BI + n
34: Begin printing with page
35: .I n.
36: .TP
37: .B -b
38: Balance columns on last page, in case of multi-column output.
39: .TP
40: .B -d
41: Double space.
42: .TP
43: .B -h
44: Take the next argument as a page header
45: .RI ( file
46: by default).
47: .TP
48: .BI -f
49: Use formfeeds to separate pages.
50: Pause, ring bell, and wait for newline before beginning.
51: .TP
52: .BI -l n
53: Take the length of the page to be
54: .I n
55: lines instead of the default 66.
56: .TP
57: .B -m
58: Print all
59: .I files
60: simultaneously,
61: each in one column.
62: .TP
63: .B -n
64: Number the lines of each
65: .I file.
66: .TP
67: .BI -o n
68: Offset the left margin
69: .I n
70: character positions.
71: .TP
72: .B -p
73: Between pages pause, ring bell, and wait for newline.
74: .TP
75: .BI -s c
76: Separate columns by the single character
77: .I c
78: instead of aligning them with white space.
79: A missing
80: .I c
81: is taken to be a tab.
82: .TP
83: .B -t
84: Do not print the 5-line header or the
85: 5-line trailer normally supplied for each page.
86: .TP
87: .BI -w n
88: For purposes of multi-column output,
89: take the width of the page to be
90: .I n
91: characters instead of the default 72.
92: .PP
93: Inter-terminal messages via
94: .IR write (1)
95: are
96: forbidden during a
97: .IR pr .
98: .SH FILES
99: .F /dev/tty
100: to suspend messages
101: .SH "SEE ALSO"
102: .IR cat (1),
103: .IR lp (1),
104: .IR thinkblt (9.1)
105: .SH DIAGNOSTICS
106: There are no diagnostics when
107: .I pr
108: is printing on a terminal.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.