summaryrefslogtreecommitdiffstats
path: root/usr.bin/pr
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1997-08-04 06:39:19 +0000
committercharnier <charnier@FreeBSD.org>1997-08-04 06:39:19 +0000
commitae524091d6db98a48b7923e74fa84becd2458cbb (patch)
tree8c0488ca9db135e23c50766bd36d4cad5e06471f /usr.bin/pr
parent4cd1615cbce78819e1e7cacc8137e31fdd5f501d (diff)
downloadFreeBSD-src-ae524091d6db98a48b7923e74fa84becd2458cbb.zip
FreeBSD-src-ae524091d6db98a48b7923e74fa84becd2458cbb.tar.gz
Cosmetic and typos.
Diffstat (limited to 'usr.bin/pr')
-rw-r--r--usr.bin/pr/pr.141
1 files changed, 25 insertions, 16 deletions
diff --git a/usr.bin/pr/pr.1 b/usr.bin/pr/pr.1
index 88eeeed..74d6d7c 100644
--- a/usr.bin/pr/pr.1
+++ b/usr.bin/pr/pr.1
@@ -34,7 +34,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)pr.1 8.3 (Berkeley) 4/18/94
-.\" $Id$
+.\" $Id: pr.1,v 1.4 1997/02/22 19:56:37 peter Exp $
.\"
.Dd April 18, 1994
.Dt PR 1
@@ -43,7 +43,7 @@
.Nm pr
.Nd print files
.Sh SYNOPSIS
-.Nm pr
+.Nm
.Bk -words
.Op Ar \&+page
.Ek
@@ -94,7 +94,7 @@
.Op Ar file ...
.Sh DESCRIPTION
The
-.Nm pr
+.Nm
utility is a printing and pagination filter for text files.
When multiple input files are specified, each is read, formatted,
and written to standard output.
@@ -111,13 +111,13 @@ the pathname of the file.
.Pp
If standard output is associated with a terminal,
diagnostic messages are suppressed until the
-.Nm pr
+.Nm
utility has completed processing.
.Pp
When multiple column output is specified,
text columns are of equal width.
By default text columns are separated by at least one
-.Em <blank>.
+.Em <blank> .
Input lines that do not fit into a text column are truncated.
Lines are not truncated under single column output.
.Sh OPTIONS
@@ -158,9 +158,13 @@ option.
.It Fl d
Produce output that is double spaced. An extra
.Em <newline>
-character is output following every <newline> found in the input.
+character is output following every
+.Em <newline>
+found in the input.
.It Fl e Ar \&[char\&]\&[gap\&]
-Expand each input <tab> to the next greater column
+Expand each input
+.Em <tab>
+to the next greater column
position specified by the formula
.Ar n*gap+1 ,
where
@@ -182,19 +186,24 @@ Use a
.Em <form-feed>
character for new pages,
instead of the default behavior that uses a
-sequence o
+sequence of
.Em <newline>
characters.
.It Fl h Ar header
-.Ar header
Use the string
.Ar header
to replace the
.Ar file name
in the header line.
.It Fl i Ar \&[char\&]\&[gap\&]
-In output, replace multiple <space>s with <tab>s whenever two or more
-adjacent <space>s reach column positions
+In output, replace multiple
+.Em <space>s
+with
+.Em <tab>s
+whenever two or more
+adjacent
+.Em <space>s
+reach column positions
.Ar gap+1 ,
.Ar 2*gap+1 ,
etc.
@@ -211,12 +220,12 @@ is specified, it is used as the output
character.
.It Fl l Ar lines
Override the 66 line default and reset the page length to
-.Ar lines.
+.Ar lines .
If
.Ar lines
is not greater than the sum of both the header and trailer
depths (in lines), the
-.Nm pr
+.Nm
utility suppresses output of both the header and trailer, as if the
.Fl t
option were in effect.
@@ -325,13 +334,13 @@ letter.
.Sh ERRORS
.Pp
If
-.Nm pr
+.Nm
receives an interrupt while printing to a terminal, it
flushes all accumulated error messages to the screen before
terminating.
.Pp
The
-.Nm pr
+.Nm
utility exits 0 on success, and 1 if an error occurs.
.Pp
Error messages are written to standard error during the printing
@@ -342,7 +351,7 @@ file printing is complete (when printing to a terminal).
.Xr more 1
.Sh STANDARDS
The
-.Nm pr
+.Nm
utility is
.St -p1003.2
compatible.
OpenPOWER on IntegriCloud