|
|
1.1 root 1: .TH PR 1
2: .SH NAME
3: pr \- print file
4: .SH SYNOPSIS
5: .B pr
6: [
7: .I option ...
8: ]
9: [
10: .I file ...
11: ]
12: .SH DESCRIPTION
13: .I Pr
14: produces a printed listing of one or more
15: .I files
16: on its standard output.
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: With no file arguments,
20: .I pr
21: prints its standard input.
22: .PP
23: Options apply to all following files but may be reset
24: between files:
25: .TP
26: .BI - n
27: Produce
28: .IR n -column
29: output.
30: .TP
31: .BI + n
32: Begin printing with page
33: .IR n .
34: .TP
35: .B -b
36: Balance columns on last page, in case of multi-column output.
37: .TP
38: .B -d
39: Double space.
40: .TP
41: .BI -e n
42: Set the tab stops for input text every
43: .I n
44: spaces.
45: .TP
46: .B -h
47: Take the next argument as a page header
48: .RI ( file
49: by default).
50: .TP
51: .BI -i n
52: Replace sequences of blanks in the output
53: by tabs, using tab stops set every
54: .I n
55: spaces.
56: .TP
57: .BI -f
58: Use formfeeds to separate pages.
59: .TP
60: .BI -l n
61: Take the length of the page to be
62: .I n
63: lines instead of the default 66.
64: .TP
65: .B -m
66: Print all
67: .I files
68: simultaneously,
69: each in one column.
70: .TP
71: .B -n
72: Number the lines of each
73: .IR file .
74: .TP
75: .BI -o n
76: Offset the left margin
77: .I n
78: character positions.
79: .TP
80: .BI -s c
81: Separate columns by the single character
82: .I c
83: instead of aligning them with white space.
84: A missing
85: .I c
86: is taken to be a tab.
87: .TP
88: .B -t
89: Do not print the 5-line header or the
90: 5-line trailer normally supplied for each page.
91: .TP
92: .BI -w n
93: For multi-column output,
94: take the width of the page to be
95: .I n
96: characters instead of the default 72.
97: .SH SOURCE
98: .B /sys/src/cmd/pr.c
99: .SH "SEE ALSO"
100: .IR cat (1),
101: .IR lp (1)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.