suckless unix tools
git clone git://
Log | Files | Refs | README | LICENSE

commit 8c02cf675cf55ebc7fe2830a275257cea6ecf36d
parent e6b6f34506c624d9b031dae50ceeea296ecaba89
Author: Richard Ipsum <>
Date:   Fri, 15 May 2020 10:27:12 +0100

nl.1: document pages

Mnl.1 | 19++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/nl.1 b/nl.1 @@ -1,4 +1,4 @@ -.Dd 2015-10-08 +.Dd 2020-05-15 .Dt NL 1 .Os sbase .Sh NAME @@ -28,6 +28,23 @@ If no is given .Nm 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 .Bl -tag -width Ds .It Fl p