Commit | Line | Data |
---|---|---|
d8649de5 C |
1 | .TH PR 1 "18 January 1983" |
2 | .UC 4 | |
3 | .SH NAME | |
4 | pr \- print file | |
5 | .SH SYNOPSIS | |
6 | .B pr | |
7 | [ option ] ... | |
8 | [ file ] ... | |
9 | .SH DESCRIPTION | |
10 | .I Pr | |
11 | produces a printed listing of one or more | |
12 | .I files. | |
13 | The output is separated into pages headed by a date, | |
14 | the name of the file or a specified header, and the page number. | |
15 | If there are no file arguments, | |
16 | .I pr | |
17 | prints its standard input. | |
18 | .PP | |
19 | Options apply to all following files but may be reset | |
20 | between files: | |
21 | .TP | |
22 | .BI \- n | |
23 | Produce | |
24 | .IR n -column | |
25 | output. | |
26 | .TP | |
27 | .BI + n | |
28 | Begin printing with page | |
29 | .I n. | |
30 | .TP | |
31 | .B \-h | |
32 | Take the next argument as a page header. | |
33 | .TP | |
34 | .BI \-w n | |
35 | For purposes of multi-column output, | |
36 | take the width of the page to be | |
37 | .I n | |
38 | characters instead of the default 72. | |
39 | .TP | |
40 | .BI \-f | |
41 | Use formfeeds instead of newlines to separate pages. | |
42 | A formfeed is assumed to use up two blank lines at the top of a page. | |
43 | (Thus this option does not affect the effective page length.) | |
44 | .TP | |
45 | .BI \-l n | |
46 | Take the length of the page to be | |
47 | .I n | |
48 | lines instead of the default 66. | |
49 | .TP | |
50 | .B \-t | |
51 | Do not print the 5-line header or the | |
52 | 5-line trailer normally supplied for each page. | |
53 | .TP | |
54 | .BI \-s c | |
55 | Separate columns by the single character | |
56 | .I c | |
57 | instead of by the appropriate amount of white space. | |
58 | A missing | |
59 | .I c | |
60 | is taken to be a tab. | |
61 | .TP | |
62 | .B \-m | |
63 | Print all | |
64 | .I files | |
65 | simultaneously, | |
66 | each in one column, | |
67 | .PP | |
68 | Inter-terminal messages via | |
69 | .IR write (1) | |
70 | are | |
71 | forbidden during a | |
72 | .IR pr . | |
73 | .SH FILES | |
74 | /dev/tty? | |
75 | to suspend messages. | |
76 | .SH "SEE ALSO" | |
77 | cat(1) | |
78 | .SH DIAGNOSTICS | |
79 | There are no diagnostics when | |
80 | .I pr | |
81 | is printing on a terminal. |