version 2, including all changes.
.
| Rev |
Author |
# |
Line |
| 1 |
perry |
1 |
PR |
| |
|
2 |
!!!PR |
| |
|
3 |
NAME |
| |
|
4 |
SYNOPSIS |
| |
|
5 |
DESCRIPTION |
| |
|
6 |
AUTHOR |
| |
|
7 |
REPORTING BUGS |
| |
|
8 |
COPYRIGHT |
| |
|
9 |
SEE ALSO |
| |
|
10 |
---- |
| |
|
11 |
!!NAME |
| |
|
12 |
|
| |
|
13 |
|
| |
|
14 |
pr - convert text files for printing |
| |
|
15 |
!!SYNOPSIS |
| |
|
16 |
|
| |
|
17 |
|
| |
|
18 |
__pr__ [[''OPTION'']... [[''FILE'']... |
| |
|
19 |
!!DESCRIPTION |
| |
|
20 |
|
| |
|
21 |
|
| |
|
22 |
Paginate or columnate FILE(s) for printing. |
| |
|
23 |
|
| |
|
24 |
|
| |
|
25 |
+FIRST_PAGE[[:LAST_PAGE], |
| |
|
26 |
__--pages__=''FIRST_PAGE[['':LAST_PAGE] |
| |
|
27 |
|
| |
|
28 |
|
| |
|
29 |
begin [[stop] printing with page |
| |
|
30 |
FIRST_[[LAST_]PAGE |
| |
|
31 |
|
| |
|
32 |
|
| |
|
33 |
__-COLUMN__, __--columns__=''COLUMN'' |
| |
|
34 |
|
| |
|
35 |
|
| |
|
36 |
produce COLUMN-column output and print columns down, unless |
| |
|
37 |
__-a__ is used. Balance number of lines in the columns on |
| |
|
38 |
each page. |
| |
|
39 |
|
| |
|
40 |
|
| |
|
41 |
__-a__, __--across__ |
| |
|
42 |
|
| |
|
43 |
|
| |
|
44 |
print columns across rather than down, used together with |
| |
|
45 |
__-COLUMN__ |
| |
|
46 |
|
| |
|
47 |
|
| |
|
48 |
__-c__, __--show-control-chars__ |
| |
|
49 |
|
| |
|
50 |
|
| |
|
51 |
use hat notation (^G) and octal backslash |
| |
|
52 |
notation |
| |
|
53 |
|
| |
|
54 |
|
| |
|
55 |
__-d__, __--double-space__ |
| |
|
56 |
|
| |
|
57 |
|
| |
|
58 |
double space the output |
| |
|
59 |
|
| |
|
60 |
|
| |
|
61 |
__-e[[CHAR[[WIDTH]]__, |
| |
|
62 |
__--expand-tabs__[[=''CHAR[[WIDTH]''] |
| |
|
63 |
|
| |
|
64 |
|
| |
|
65 |
expand input CHARs (TABs) to tab WIDTH (8) |
| |
|
66 |
|
| |
|
67 |
|
| |
|
68 |
__-F__, __-f__, __--form-feed__ |
| |
|
69 |
|
| |
|
70 |
|
| |
|
71 |
use form feeds instead of newlines to separate pages (by a |
| |
|
72 |
3-line page header with __-F__ or a 5-line header and |
| |
|
73 |
trailer without __-F__) |
| |
|
74 |
|
| |
|
75 |
|
| |
|
76 |
__-h__ HEADER, __--header__=''HEADER'' |
| |
|
77 |
|
| |
|
78 |
|
| |
|
79 |
use a centered HEADER instead of filename in page header, |
| |
|
80 |
with long headers left-hand-side truncation may occur, |
| |
|
81 |
__-h__ |
| |
|
82 |
__-h____ |
| |
|
83 |
|
| |
|
84 |
|
| |
|
85 |
__-i[[CHAR[[WIDTH]]__, |
| |
|
86 |
__--output-tabs__[[=''CHAR[[WIDTH]''] |
| |
|
87 |
|
| |
|
88 |
|
| |
|
89 |
replace spaces with CHARs (TABs) to tab WIDTH |
| |
|
90 |
(8) |
| |
|
91 |
|
| |
|
92 |
|
| |
|
93 |
__-J__, __--join-lines__ |
| |
|
94 |
|
| |
|
95 |
|
| |
|
96 |
merge full lines, turns off __-W__ line truncation, no |
| |
|
97 |
column alignment, __-S[[STRING]__ sets |
| |
|
98 |
separators |
| |
|
99 |
|
| |
|
100 |
|
| |
|
101 |
__-l__ PAGE_LENGTH, |
| |
|
102 |
__--length__=''PAGE_LENGTH'' |
| |
|
103 |
|
| |
|
104 |
|
| |
|
105 |
set the page length to PAGE_LENGTH (66) lines (default |
| |
|
106 |
number of lines of text 56, and with __-F__ |
| |
|
107 |
63) |
| |
|
108 |
|
| |
|
109 |
|
| |
|
110 |
__-m__, __--merge__ |
| |
|
111 |
|
| |
|
112 |
|
| |
|
113 |
print all files in parallel, one in each column, truncate |
| |
|
114 |
lines, but join lines of full length with |
| |
|
115 |
__-J__ |
| |
|
116 |
|
| |
|
117 |
|
| |
|
118 |
__-n[[SEP[[DIGITS]]__, |
| |
|
119 |
__--number-lines__[[=''SEP[[DIGITS]''] |
| |
|
120 |
|
| |
|
121 |
|
| |
|
122 |
number lines, use DIGITS (5) digits, then SEP (TAB), default |
| |
|
123 |
counting starts with 1st line of input file |
| |
|
124 |
|
| |
|
125 |
|
| |
|
126 |
__-N__ NUMBER, |
| |
|
127 |
__--first-line-number__=''NUMBER'' |
| |
|
128 |
|
| |
|
129 |
|
| |
|
130 |
start counting with NUMBER at 1st line of first page printed |
| |
|
131 |
(see +FIRST_PAGE) |
| |
|
132 |
|
| |
|
133 |
|
| |
|
134 |
__-o__ MARGIN, __--indent__=''MARGIN'' |
| |
|
135 |
|
| |
|
136 |
|
| |
|
137 |
offset each line with MARGIN (zero) spaces, do not affect |
| |
|
138 |
__-w__ or __-W__, MARGIN will be added to |
| |
|
139 |
PAGE_WIDTH |
| |
|
140 |
|
| |
|
141 |
|
| |
|
142 |
__-r__, __--no-file-warnings__ |
| |
|
143 |
|
| |
|
144 |
|
| |
|
145 |
omit warning when a file cannot be opened |
| |
|
146 |
|
| |
|
147 |
|
| |
|
148 |
__-s[[CHAR]__,--separator[[=CHAR] |
| |
|
149 |
|
| |
|
150 |
|
| |
|
151 |
separate columns by a single character, default for CHAR is |
| |
|
152 |
the -w__ and 'no char' |
| |
|
153 |
with __-w -s[[CHAR]__ turns off line truncation of all 3 |
| |
|
154 |
column options (-COLUMN|-a __-COLUMN__|-m) except |
| |
|
155 |
__-w__ is set |
| |
|
156 |
|
| |
|
157 |
|
| |
|
158 |
__-S[[STRING]__, |
| |
|
159 |
__--sep-string__[[=''STRING''] |
| |
|
160 |
|
| |
|
161 |
|
| |
|
162 |
separate columns by an optional STRING, don't use __-S__ |
| |
|
163 |
__-S__ only: No separator used (same |
| |
|
164 |
as __-S____-S__: Default |
| |
|
165 |
separator __-J__ and |
| |
|
166 |
__-S__ |
| |
|
167 |
__ |
| |
|
168 |
|
| |
|
169 |
|
| |
|
170 |
__-t__, __--omit-header__ omit page headers and |
| |
|
171 |
trailers |
| |
|
172 |
|
| |
|
173 |
|
| |
|
174 |
__-T__, __--omit-pagination__ |
| |
|
175 |
|
| |
|
176 |
|
| |
|
177 |
omit page headers and trailers, eliminate any pagination by |
| |
|
178 |
form feeds set in input files |
| |
|
179 |
|
| |
|
180 |
|
| |
|
181 |
__-v__, __--show-nonprinting__ |
| |
|
182 |
|
| |
|
183 |
|
| |
|
184 |
use octal backslash notation |
| |
|
185 |
|
| |
|
186 |
|
| |
|
187 |
__-w__ PAGE_WIDTH, |
| |
|
188 |
__--width__=''PAGE_WIDTH'' |
| |
|
189 |
|
| |
|
190 |
|
| |
|
191 |
set page width to PAGE_WIDTH (72) characters for multiple |
| |
|
192 |
text-column output only, __-s[[char]__ turns off |
| |
|
193 |
(72) |
| |
|
194 |
|
| |
|
195 |
|
| |
|
196 |
__-W__ PAGE_WIDTH, |
| |
|
197 |
__--page-width__=''PAGE_WIDTH'' |
| |
|
198 |
|
| |
|
199 |
|
| |
|
200 |
set page width to PAGE_WIDTH (72) characters always, |
| |
|
201 |
truncate lines, except __-J__ option is set, no |
| |
|
202 |
interference with __-S__ or __-s__ |
| |
|
203 |
|
| |
|
204 |
|
| |
|
205 |
__--help__ |
| |
|
206 |
|
| |
|
207 |
|
| |
|
208 |
display this help and exit |
| |
|
209 |
|
| |
|
210 |
|
| |
|
211 |
__--version__ |
| |
|
212 |
|
| |
|
213 |
|
| |
|
214 |
output version information and exit |
| |
|
215 |
|
| |
|
216 |
|
| |
|
217 |
__-T__ implied by __-l__ nn when nn |
| |
|
218 |
__-F__. With no FILE, or when FILE is -, read |
| |
|
219 |
standard input. |
| |
|
220 |
!!AUTHOR |
| |
|
221 |
|
| |
|
222 |
|
| 2 |
perry |
223 |
Written by Pete !TerMaat and Roland Huebner. |
| 1 |
perry |
224 |
!!REPORTING BUGS |
| |
|
225 |
|
| |
|
226 |
|
| |
|
227 |
Report bugs to |
| |
|
228 |
!!COPYRIGHT |
| |
|
229 |
|
| |
|
230 |
|
| |
|
231 |
Copyright 1999 Free Software Foundation, Inc. |
| |
|
232 |
This is free software; see the source for copying |
| |
|
233 |
conditions. There is NO warranty; not even for |
| |
|
234 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR |
| |
|
235 |
PURPOSE. |
| |
|
236 |
!!SEE ALSO |
| |
|
237 |
|
| |
|
238 |
|
| |
|
239 |
The full documentation for __pr__ is maintained as a |
| |
|
240 |
Texinfo manual. If the __info__ and __pr__ programs |
| |
|
241 |
are properly installed at your site, the |
| |
|
242 |
command |
| |
|
243 |
|
| |
|
244 |
|
| |
|
245 |
__info pr__ |
| |
|
246 |
|
| |
|
247 |
|
| |
|
248 |
should give you access to the complete manual. |
| |
|
249 |
---- |