version 1.15, 2003/06/03 02:56:14 |
version 1.16, 2007/03/03 23:16:02 |
|
|
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm pr |
.Nm pr |
.Bk -words |
.Bk -words |
.Op Ar \&+page |
.Op Ar +page |
.Ek |
|
.Bk -words |
|
.Op Fl Ar column |
.Op Fl Ar column |
.Ek |
.Op Fl adFfmrt |
.Op Fl adfFmrt |
.Xo Oo |
.Bk -words |
.Fl e |
.Oo |
|
.Op Fl e |
|
.Op Ar char |
.Op Ar char |
.Op Ar gap |
.Op Ar gap |
.Oc |
.Oc |
.Ek |
.Xc |
.Bk -words |
|
.Op Fl h Ar header |
.Op Fl h Ar header |
.Ek |
.Xo Oo |
.Bk -words |
.Fl i |
.Oo |
|
.Op Fl i |
|
.Op Ar char |
.Op Ar char |
.Op Ar gap |
.Op Ar gap |
.Oc |
.Oc |
.Ek |
.Xc |
.Bk -words |
|
.Op Fl l Ar lines |
.Op Fl l Ar lines |
.Ek |
.Xo Oo |
.Bk -words |
.Fl n |
.Op Fl o Ar offset |
|
.Ek |
|
.Bk -words |
|
.Oo |
|
.Op Fl s |
|
.Op Ar char |
.Op Ar char |
|
.Op Ar width |
.Oc |
.Oc |
.Ek |
.Xc |
.Bk -words |
.Op Fl o Ar offset |
.Oo |
.Xo Oo |
.Op Fl n |
.Fl s |
.Op Ar char |
.Op Ar char |
.Op Ar width |
|
.Oc |
.Oc |
.Ek |
.Xc |
.Bk -words |
|
.Op Fl w Ar width |
.Op Fl w Ar width |
.Ek |
|
.Op - |
.Op - |
.Op Ar file ... |
.Op Ar file ... |
|
.Ek |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
The |
The |
.Nm pr |
.Nm pr |
|
|
character is output following every |
character is output following every |
.Em <newline> |
.Em <newline> |
found in the input. |
found in the input. |
.It Fl e Ar \&[char\&]\&[gap\&] |
.It Xo Fl e |
|
.Op Ar char |
|
.Op Ar gap |
|
.Xc |
Expand each input |
Expand each input |
.Em <tab> |
.Em <tab> |
to the next greater column |
to the next greater column |
|
|
to replace the |
to replace the |
.Ar file name |
.Ar file name |
in the header line. |
in the header line. |
.It Fl i Ar \&[char\&]\&[gap\&] |
.It Xo Fl i |
|
.Op Ar char |
|
.Op Ar gap |
|
.Xc |
In output, replace multiple |
In output, replace multiple |
.Em <space> Ns s |
.Em <space> Ns s |
with |
with |
|
|
and |
and |
.Fl i |
.Fl i |
are assumed. |
are assumed. |
.It Fl n Ar \&[char\&]\&[width\&] |
.It Xo Fl n |
|
.Op Ar char |
|
.Op Ar width |
|
.Xc |
Provide |
Provide |
.Ar width |
.Ar width |
digit line numbering. |
digit line numbering. |
|
|
The space taken is in addition to the output line width. |
The space taken is in addition to the output line width. |
.It Fl r |
.It Fl r |
Write no diagnostic reports on failure to open a file. |
Write no diagnostic reports on failure to open a file. |
.It Fl s Ar char |
.It Fl s Op Ar char |
Separate text columns by the single character |
Separate text columns by the single character |
.Ar char |
.Ar char |
instead of by the appropriate number of |
instead of by the appropriate number of |