Module Name: src
Committed By: wiz
Date: Mon Sep 9 09:02:26 UTC 2013
Modified Files:
src/usr.bin/nl: nl.1
Log Message:
Improvements from jmc@openbsd.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/usr.bin/nl/nl.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/nl/nl.1
diff -u src/usr.bin/nl/nl.1:1.13 src/usr.bin/nl/nl.1:1.14
--- src/usr.bin/nl/nl.1:1.13 Wed May 1 20:53:59 2013
+++ src/usr.bin/nl/nl.1 Mon Sep 9 09:02:25 2013
@@ -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.
.\" All rights reserved.
@@ -55,8 +55,8 @@ utility reads lines from the named
or the standard input if the
.Ar file
argument is omitted,
-applies a configurable line numbering filter operation and writes the result
-to the standard output.
+applies a configurable line numbering filter operation,
+and writes the result to the standard output.
.Pp
The
.Nm
@@ -70,14 +70,12 @@ body and footer sections.
.Pp
The starts of logical page sections are signaled by input lines containing
nothing but one of the following sequences of delimiter characters:
-.Bd -unfilled -offset indent
-.Bl -column "\e:\e:\e: " "header "
-.It Em "Line" "Start 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
-.Ed
.Pp
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.
@@ -155,7 +153,8 @@ Specify the line numbering output format
Recognized
.Ar format
arguments are:
-.Bl -tag -width lnXX -compact
+.Pp
+.Bl -tag -width lnXX -compact -offset indent
.It ln
Left justified.
.It rn
@@ -185,7 +184,7 @@ The default
value is 1.
.It Fl w Ar width
Specify the number of characters to be occupied by the line number;
-in case the
+if the
.Ar width
is insufficient to hold the line number, it will be truncated to its
.Ar width