version 1.23, 2010/10/01 07:06:16 |
version 1.24, 2014/04/15 17:27:37 |
|
|
.Nd print files |
.Nd print files |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm pr |
.Nm pr |
.Bk -words |
|
.Op Ar +page |
.Op Ar +page |
.Op Fl Ar column |
.Op Fl Ar column |
.Op Fl adFfmrt |
.Op Fl adFfmrt |
.Xo Oo |
.Op Fl e Ns Oo Ar char Oc Ns Op Ar gap |
.Fl e |
|
.Op Ar char |
|
.Op Ar gap |
|
.Oc |
|
.Xc |
|
.Op Fl h Ar header |
.Op Fl h Ar header |
.Xo Oo |
.Op Fl i Ns Oo Ar char Oc Ns Op Ar gap |
.Fl i |
|
.Op Ar char |
|
.Op Ar gap |
|
.Oc |
|
.Xc |
|
.Op Fl l Ar lines |
.Op Fl l Ar lines |
.Xo Oo |
.Op Fl n Ns Oo Ar char Oc Ns Op Ar width |
.Fl n |
|
.Op Ar char |
|
.Op Ar width |
|
.Oc |
|
.Xc |
|
.Op Fl o Ar offset |
.Op Fl o Ar offset |
.Xo Oo |
.Op Fl s Ns Op Ar char |
.Fl s |
|
.Op Ar char |
|
.Oc |
|
.Xc |
|
.Op Fl w Ar width |
.Op Fl w Ar width |
.Op - |
|
.Op Ar |
.Op Ar |
.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 Xo Fl e |
.It Fl e Ns Oo Ar char Oc Ns Op Ar gap |
.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 Xo Fl i |
.It Fl i Ns Oo Ar char Oc Ns Op Ar gap |
.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 Xo Fl n |
.It Fl n Ns Oo Ar char Oc Ns Op Ar width |
.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 Op Ar char |
.It Fl s Ns 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 |