Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/nl Improvements from jmc@openbsd.



details:   https://anonhg.NetBSD.org/src/rev/21965c2f475e
branches:  trunk
changeset: 789824:21965c2f475e
user:      wiz <wiz%NetBSD.org@localhost>
date:      Mon Sep 09 09:02:25 2013 +0000

description:
Improvements from jmc@openbsd.

diffstat:

 usr.bin/nl/nl.1 |  17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)

diffs (56 lines):

diff -r fb6ca7fa56ee -r 21965c2f475e usr.bin/nl/nl.1
--- a/usr.bin/nl/nl.1   Mon Sep 09 08:23:54 2013 +0000
+++ b/usr.bin/nl/nl.1   Mon Sep 09 09:02:25 2013 +0000
@@ -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 @@
 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 @@
 .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 @@
 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 @@
 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



Home | Main Index | Thread Index | Old Index