plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

p.1 (503B)


      1 .TH P 1
      2 .SH NAME
      3 p \- paginate
      4 .SH SYNOPSIS
      5 .B p
      6 [
      7 .BI - number
      8 ]
      9 [
     10 .I file ...
     11 ]
     12 .SH DESCRIPTION
     13 .I P
     14 copies its standard input, or the named files if given,
     15 to its standard output,
     16 stopping at the end of every 22nd line, and between files,
     17 to wait for a newline from the user.
     18 The option sets the
     19 .I number
     20 of lines on a page.
     21 .PP
     22 While waiting for a newline,
     23 .I p
     24 interprets the commands:
     25 .TP
     26 .B !
     27 Pass the rest of the line to the shell as a command.
     28 .TP
     29 .B q
     30 Quit.
     31 .PP
     32 .SH SOURCE
     33 .B \*9/src/cmd/p.c