Improvements from jmc@openbsd.

This commit is contained in:
wiz 2013-09-09 09:02:25 +00:00
parent f743a71b8d
commit be79f6c038

View File

@ -1,4 +1,4 @@
.\" $NetBSD: nl.1,v 1.13 2013/05/01 20:53:59 christos Exp $ .\" $NetBSD: nl.1,v 1.14 2013/09/09 09:02:25 wiz Exp $
.\" .\"
.\" Copyright (c) 1999 The NetBSD Foundation, Inc. .\" Copyright (c) 1999 The NetBSD Foundation, Inc.
.\" All rights reserved. .\" All rights reserved.
@ -55,8 +55,8 @@ utility reads lines from the named
or the standard input if the or the standard input if the
.Ar file .Ar file
argument is omitted, argument is omitted,
applies a configurable line numbering filter operation and writes the result applies a configurable line numbering filter operation,
to the standard output. and writes the result to the standard output.
.Pp .Pp
The The
.Nm .Nm
@ -70,14 +70,12 @@ body and footer sections.
.Pp .Pp
The starts of logical page sections are signaled by input lines containing The starts of logical page sections are signaled by input lines containing
nothing but one of the following sequences of delimiter characters: nothing but one of the following sequences of delimiter characters:
.Bd -unfilled -offset indent .Bl -column "\e:\e:\e: " "header " -offset indent
.Bl -column "\e:\e:\e: " "header " .It Em "Line" Ta Em "Start of"
.It Em "Line" "Start of"
.It \e:\e:\e: header .It \e:\e:\e: header
.It \e:\e: body .It \e:\e: body
.It \e: footer .It \e: footer
.El .El
.Ed
.Pp .Pp
If the input does not contain any logical page section signaling directives, If the input does not contain any logical page section signaling directives,
the text being read is assumed to consist of a single logical page body. the text being read is assumed to consist of a single logical page body.
@ -155,7 +153,8 @@ Specify the line numbering output format.
Recognized Recognized
.Ar format .Ar format
arguments are: arguments are:
.Bl -tag -width lnXX -compact .Pp
.Bl -tag -width lnXX -compact -offset indent
.It ln .It ln
Left justified. Left justified.
.It rn .It rn
@ -185,7 +184,7 @@ The default
value is 1. value is 1.
.It Fl w Ar width .It Fl w Ar width
Specify the number of characters to be occupied by the line number; Specify the number of characters to be occupied by the line number;
in case the if the
.Ar width .Ar width
is insufficient to hold the line number, it will be truncated to its is insufficient to hold the line number, it will be truncated to its
.Ar width .Ar width