|
|
1.1 root 1: .TH REV 1
2: .CT 1 writing_output files
3: .SH NAME
4: rev, revpag \- reverse lines or pages
5: .SH SYNOPSIS
6: .B rev
7: [
8: .I file ...
9: ]
10: .PP
11: .B revpag
12: [
13: .I option ...
14: ]
15: [
16: .I file ...
17: ]
18: .SH DESCRIPTION
19: .I Rev
20: copies the standard input or the named files to the standard output, reversing
21: the order of characters in every line.
22: .PP
23: .I Revpag
24: copies the standard input or the named files to the standard output,
25: reversing the order of the pages.
26: (The name
27: .L -
28: means the standard input.)
29: Options define what constitutes a `page':
30: .TP
31: .BI -d
32: The input is
33: .IR troff (1)
34: output; page breaks are encoded in it.
35: .TP
36: .BI -f
37: Append a new-page character (014) to the last input page (which is the first
38: page on the output), if this page is not of the declared length.
39: .TP
40: .BI -l " n"
41: Set the number of lines per page in
42: ordinary
43: .SM ASCII
44: input (66 by default).
45: A new-page character (014) is also recognized
46: as a page break.
47: .TP
48: .BI -o " list"
49: Output only pages whose page numbers appear in
50: the comma-separated
51: .I list
52: of numbers and ranges.
53: A `page number' means the ordinal position of a page
54: in the input.
55: A range
56: .IB n - m
57: means pages
58: .I n
59: through
60: .I m.
61: In a range, a missing
62: .I m
63: means the beginning; a missing
64: .I n
65: means the end.
66: .SH SEE ALSO
67: .IR pr (1),
68: .IR troff (1),
69: .IR lp (1)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.