xref: /plan9-contrib/sys/man/1/p (revision 219b2ee8daee37f4aad58d63f21287faa8e4ffdc)
P 1
NAME
p - paginate
SYNOPSIS
p [ - number ] [ file ... ]
DESCRIPTION
P copies its standard input, or the named files if given, to its standard output, stopping at the end of every 22nd line, and between files, to wait for a newline from the user. The option sets the number of lines on a page.

While waiting for a newline, p interprets the commands:

! Pass the rest of the line to the shell as a command.

q Quit.

SOURCE
/sys/src/cmd/p.c