shithub: purgatorio

ref: c116550e6a41572796e4db65e4f6acbcb3d9d6f8
dir: /man/1/p/

View raw version
.TH P 1
.SH NAME
p \- paginate
.SH SYNOPSIS
.B p
[
.BI - number
]
[
.I file ...
]
.SH DESCRIPTION
.I P
copies its standard input, or the named files if given,
to its standard output,
stopping at the end of every page,
to wait for a newline from the user.
The option sets the
.I number
of lines on a page (default: 22).
.PP
While waiting for a newline,
.I p
interprets the commands:
.TP
.B !
Pass the rest of the line to the shell as a command.
.TP
.B q
Quit.
.PP
.SH SOURCE
.B /appl/cmd/p.b