Source-Changes-HG archive

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

[src/trunk]: src/bin/sh Compute tag width for the list of options in Argument...



details:   https://anonhg.NetBSD.org/src/rev/36f59e320ced
branches:  trunk
changeset: 321397:36f59e320ced
user:      uwe <uwe%NetBSD.org@localhost>
date:      Wed Mar 14 10:38:52 2018 +0000

description:
Compute tag width for the list of options in Argument List Processing,
mandoc *is* up to that.  Remove the part of the comment before the
list that was wondering about that.

diffstat:

 bin/sh/sh.1 |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (23 lines):

diff -r 41e6984c0bf6 -r 36f59e320ced bin/sh/sh.1
--- a/bin/sh/sh.1       Wed Mar 14 10:30:40 2018 +0000
+++ b/bin/sh/sh.1       Wed Mar 14 10:38:52 2018 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: sh.1,v 1.191 2018/03/14 10:30:40 uwe Exp $
+.\"    $NetBSD: sh.1,v 1.192 2018/03/14 10:38:52 uwe Exp $
 .\" Copyright (c) 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
 .\"
@@ -257,11 +257,8 @@
 .\" strlen("quietprofile") == strlen("local_lineno"): pick the latter
 .\" to give the indent as the _ in local_lineno, and the fi ligature in
 .\" quietprofile combine to make "local_lineno' slightly wider when printed
-.\" (in italics) in a variable width font.   Probably should test the actual
-.\" widths and use the wider, but I am not sure if mandoc is up to that...
-.\" (and I don't know how to get at the font that will be used easily anyway!)
-.\" The X's just provide a little extra space.
-.Bl -tag -width \-WXXlocal_linenoXX -offset indent
+.\" (in italics) in a variable width font.
+.Bl -tag -width ".Fl L Em local_lineno" -offset indent
 .\"
 .It Fl a Em allexport
 Automatically export any variable to which a value is assigned



Home | Main Index | Thread Index | Old Index