mirror of
git://git.suckless.org/sbase
synced 2025-05-16 15:27:56 +00:00
nl.1: document pages
This commit is contained in:
parent
e6b6f34506
commit
8c02cf675c
19
nl.1
19
nl.1
@ -1,4 +1,4 @@
|
|||||||
.Dd 2015-10-08
|
.Dd 2020-05-15
|
||||||
.Dt NL 1
|
.Dt NL 1
|
||||||
.Os sbase
|
.Os sbase
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -28,6 +28,23 @@ If no
|
|||||||
is given
|
is given
|
||||||
.Nm
|
.Nm
|
||||||
reads from stdin.
|
reads from stdin.
|
||||||
|
.Pp
|
||||||
|
.Nm
|
||||||
|
treats the input text as a collection of logical pages divided into
|
||||||
|
logical page sections.
|
||||||
|
Each logical page consists of a header section, a body
|
||||||
|
section and a footer section.
|
||||||
|
Sections may be empty.
|
||||||
|
The start of each section is indicated by a single delimiting line, one of:
|
||||||
|
.Bl -column "\e:\e:\e: " "header " -offset indent
|
||||||
|
.It Em "Line" Ta Em "Start of"
|
||||||
|
.It \e:\e:\e: header
|
||||||
|
.It \e:\e: body
|
||||||
|
.It \e: footer
|
||||||
|
.El
|
||||||
|
.Pp
|
||||||
|
If the input text contains no delimiting line then all of the input text
|
||||||
|
belongs to a single logical page body section.
|
||||||
.Sh OPTIONS
|
.Sh OPTIONS
|
||||||
.Bl -tag -width Ds
|
.Bl -tag -width Ds
|
||||||
.It Fl p
|
.It Fl p
|
||||||
|
Loading…
Reference in New Issue
Block a user