Source-Changes-HG archive

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

[src/trunk]: src Fix long-standing inconsistency between manapage and code.



details:   https://anonhg.NetBSD.org/src/rev/3badf9941ca0
branches:  trunk
changeset: 487410:3badf9941ca0
user:      jhawk <jhawk%NetBSD.org@localhost>
date:      Wed Jun 07 13:24:11 2000 +0000

description:
Fix long-standing inconsistency between manapage and code.
The "ditto" character is " (double-quote); not , (comma) as
indicated in the manpage; and not ' (single-quote) as indicated
in the man.old -style manpage from which the mdoc manpage was derived.

Some other versions of ddb use single-quote for this feature, and this
part of the code may change again in the near future, but the documentation
now affects reality now.
they

diffstat:

 share/man/man4/ddb.4 |  4 ++--
 sys/ddb/TODO         |  5 +----
 2 files changed, 3 insertions(+), 6 deletions(-)

diffs (37 lines):

diff -r fdaa3b1fd093 -r 3badf9941ca0 share/man/man4/ddb.4
--- a/share/man/man4/ddb.4      Wed Jun 07 13:21:43 2000 +0000
+++ b/share/man/man4/ddb.4      Wed Jun 07 13:24:11 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ddb.4,v 1.47 2000/05/23 23:48:43 jhawk Exp $
+.\"    $NetBSD: ddb.4,v 1.48 2000/06/07 13:24:11 jhawk Exp $
 .\"
 .\" Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -954,7 +954,7 @@
 or
 .Ic write
 commands.
-.It Cm ,
+.It Cm \&"
 last address explicitly specified.
 .It Cm $ Ns Ar name
 register name or variable.
diff -r fdaa3b1fd093 -r 3badf9941ca0 sys/ddb/TODO
--- a/sys/ddb/TODO      Wed Jun 07 13:21:43 2000 +0000
+++ b/sys/ddb/TODO      Wed Jun 07 13:24:11 2000 +0000
@@ -1,4 +1,4 @@
-$NetBSD: TODO,v 1.1 2000/06/06 05:41:54 jhawk Exp $
+$NetBSD: TODO,v 1.2 2000/06/07 13:24:11 jhawk Exp $
 
 In rough order.
 
@@ -19,9 +19,6 @@
 6.     double-quote delimitted strings don't work in "print", nor do
        multiple arguments (like the manpage says)
 
-7.     Fix "ditto" character in manpage vs. code.
-
-
 Features to be implemented:
 
 1.     Have "ps" print pids with a 0t prefix to reduce radix



Home | Main Index | Thread Index | Old Index