[hackers] [sbase] nl.1: document pages || Richard Ipsum

From: <git_AT_suckless.org>
Date: Fri, 15 May 2020 11:56:42 +0200 (CEST)

commit 8c02cf675cf55ebc7fe2830a275257cea6ecf36d
Author: Richard Ipsum <richardipsum_AT_vx21.xyz>
AuthorDate: Fri May 15 10:27:12 2020 +0100
Commit: Michael Forney <mforney_AT_mforney.org>
CommitDate: Fri May 15 02:52:26 2020 -0700

    nl.1: document pages

diff --git a/nl.1 b/nl.1
index 01ba9f5..5b30524 100644
--- a/nl.1
+++ b/nl.1
_AT_@ -1,4 +1,4 @@
-.Dd 2015-10-08
+.Dd 2020-05-15
 .Dt NL 1
 .Os sbase
 .Sh NAME
_AT_@ -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
Received on Fri May 15 2020 - 11:56:42 CEST

This archive was generated by hypermail 2.3.0 : Fri May 15 2020 - 12:00:38 CEST