2024-04-21 06:30:01 -06:00
|
|
|
.\" Copyright (c) 2024 DTB <trinity@trinity.moe>
|
|
|
|
.\"
|
|
|
|
.\" This work is licensed under CC BY-SA 4.0. To see a copy of this license,
|
|
|
|
.\" visit <http://creativecommons.org/licenses/by-sa/4.0/>.
|
|
|
|
|
|
|
|
.TH PG 1
|
2024-04-21 06:21:15 -06:00
|
|
|
|
|
|
|
.SH NAME
|
|
|
|
|
|
|
|
pg \(en paginate
|
|
|
|
|
2024-04-22 07:52:41 -06:00
|
|
|
.SH SYNOPSIS
|
|
|
|
|
|
|
|
pg
|
|
|
|
.RB ( -p
|
|
|
|
.RB [ prompt ])
|
|
|
|
|
2024-04-21 06:21:15 -06:00
|
|
|
.SH DESCRIPTION
|
|
|
|
|
2024-04-22 01:12:02 -06:00
|
|
|
Pg prints standard input to standard output, accepting commands between pages.
|
2024-04-21 06:21:15 -06:00
|
|
|
|
2024-04-22 07:52:41 -06:00
|
|
|
.SH OPTIONS
|
|
|
|
|
|
|
|
.B -p
|
|
|
|
.RS
|
|
|
|
Replaces the default prompt (": ") with the next argument.
|
|
|
|
.RE
|
|
|
|
|
2024-04-21 06:21:15 -06:00
|
|
|
.SH DIAGNOSTICS
|
|
|
|
|
|
|
|
Pg returns an unsuccessful exit code if the tty couldn't be opened or if pg was
|
|
|
|
invoked incorrectly (with any arguments).
|
|
|
|
|
|
|
|
.SH RATIONALE
|
|
|
|
|
|
|
|
Plan 9 from Bell Labs had p(1), a similar "cooked"-mode paginator (as opposed
|
|
|
|
to "raw" mode, which a vast majority of paginators use).
|
|
|
|
|
|
|
|
.SH SEE ALSO
|
|
|
|
|
|
|
|
more(1)
|