Importing usr.bin/pr
Replaces commands/pr. No Minix-specific changes needed. Change-Id: I3c4c03b38fc8c654e7c54c3a8af0e07a0dfc9f67
This commit is contained in:
@@ -12,7 +12,7 @@ MAN= ash.1 at.1 \
|
||||
look.1 lp.1 lspci.1 mail.1 \
|
||||
mesg.1 mixer.1 \
|
||||
mkproto.1 mount.1 mt.1 od.1 \
|
||||
paste.1 ping.1 playwave.1 pr.1 prep.1 \
|
||||
paste.1 ping.1 playwave.1 prep.1 \
|
||||
profile.1 ps.1 rcp.1 recwave.1 \
|
||||
remsync.1 rget.1 rlogin.1 rsh.1 rz.1 \
|
||||
shar.1 sleep.1 spell.1 \
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
.TH PR 1
|
||||
.SH NAME
|
||||
pr \- print a file
|
||||
.SH SYNOPSIS
|
||||
\fBpr\fR [\fB\-Mfnt\fR]\fR [\fB\-h \fIn\fR] [\fB\-l \fIn\fR] [\fB\-w \fIn\fR] [\fB\-\fRcolumns\fR] [\fB+\fIpage\fR] [\fIfile\fR] ...\fR
|
||||
.br
|
||||
.de FL
|
||||
.TP
|
||||
\\fB\\$1\\fR
|
||||
\\$2
|
||||
..
|
||||
.de EX
|
||||
.TP 20
|
||||
\\fB\\$1\\fR
|
||||
# \\$2
|
||||
..
|
||||
.SH OPTIONS
|
||||
.TP 5
|
||||
.B \-M
|
||||
# Use MINIX style line number
|
||||
.TP 5
|
||||
.B \-f
|
||||
# Do not fold long lines
|
||||
.TP 5
|
||||
.B \-h
|
||||
# Take next argument as page header
|
||||
.TP 5
|
||||
.B \-l
|
||||
# Sets page length in lines
|
||||
.TP 5
|
||||
.B \-n
|
||||
# Number the output lines
|
||||
.TP 5
|
||||
.B \-t
|
||||
# Do not print page header or trailer
|
||||
.TP 5
|
||||
.B \-w
|
||||
# Sets line length in characters
|
||||
.SH EXAMPLES
|
||||
.TP 20
|
||||
.B pr \-w85 \-l60 file
|
||||
# Use 85 character line, 60 line page
|
||||
.TP 20
|
||||
.B pr \-3 file
|
||||
# List \fIfile\fP three columns to a page
|
||||
.TP 20
|
||||
.B pr +4 file
|
||||
# Start printing with page 4
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
.I Pr
|
||||
formats one or more files for printing.
|
||||
If no files are specified, \fIstdin\fR is printed.
|
||||
Options are provided for setting the width and height of the page, the
|
||||
number of columns to use (default 1), and the page to start with, among others.
|
||||
.SH "SEE ALSO"
|
||||
.BR lp (1).
|
||||
Reference in New Issue
Block a user