Source-Changes-HG archive

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

[src/netbsd-1-6]: src/share/tmac Pullup rev 1.28 (requested by wiz in ticket ...



details:   https://anonhg.NetBSD.org/src/rev/1dbb61b41207
branches:  netbsd-1-6
changeset: 530166:1dbb61b41207
user:      jmc <jmc%NetBSD.org@localhost>
date:      Wed Feb 26 18:53:55 2003 +0000

description:
Pullup rev 1.28 (requested by wiz in ticket 1184)
 Make .Nm without arguments, but with punctuation, work.
 Makes man pages from -current format correctly on 1.6.x

diffstat:

 share/tmac/doc |  49 ++++++++++++++++++++++++++++++++++++-------------
 1 files changed, 36 insertions(+), 13 deletions(-)

diffs (66 lines):

diff -r e5e943397293 -r 1dbb61b41207 share/tmac/doc
--- a/share/tmac/doc    Sun Feb 23 09:15:05 2003 +0000
+++ b/share/tmac/doc    Wed Feb 26 18:53:55 2003 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: doc,v 1.26 2002/01/03 16:30:16 tv Exp $
+.\"    $NetBSD: doc,v 1.26.2.1 2003/02/26 18:53:55 jmc Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -788,21 +788,44 @@
 .if \\n(aC==0 \{\
 .      ie \\n(.$==0 \{\
 .              ie "\\*(n1"" .tm Usage: .Nm Name(s) ... \\*(Pu (#\\n(.c)
-.              el \&\\*(nM\\*(n1\fP\s0
+.              el \{\
+.                      ds mN Nm
+.                      ds A1 \\*(n1
+.                      nr fV 1
+.                      fV
+.              \}
 .      \}
 .      el \{\
 .              ds mN Nm
-.              ie "\\$1"" .ds A1 \\*(n1
-.              el .ds A1 \\$1
-.              ds A2 \\$2
-.              ds A3 \\$3
-.              ds A4 \\$4
-.              ds A5 \\$5
-.              ds A6 \\$6
-.              ds A7 \\$7
-.              ds A8 \\$8
-.              ds A9 \\$9
-.              nr fV \\n(.$
+.              sW "\\$1"
+.              aT \\$1
+.              ie \\n(aT==3:\\n(aT==4 \{\
+.                      ds A1 \\*(n1
+.                      ds A2 \\$1
+.                      ds A3 \\$2
+.                      ds A4 \\$3
+.                      ds A5 \\$4
+.                      ds A6 \\$5
+.                      ds A7 \\$6
+.                      ds A8 \\$7
+.                      ds A9 \\$8
+.                      if !"\\$9"" .as A9 " \\$9
+.                      nr fV \\n(.$
+.                      if \\n(fV<9 .nr fV \\n(fV+1
+.              \}
+.              el \{\
+.                      ie "\\$1"" .ds A1 \\*(n1
+.                      el .ds A1 \\$1
+.                      ds A2 \\$2
+.                      ds A3 \\$3
+.                      ds A4 \\$4
+.                      ds A5 \\$5
+.                      ds A6 \\$6
+.                      ds A7 \\$7
+.                      ds A8 \\$8
+.                      ds A9 \\$9
+.                      nr fV \\n(.$
+.              \}
 .              fV
 .      \}
 .\}



Home | Main Index | Thread Index | Old Index