groff-commit
[Top][All Lists]
Advanced

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

[Groff-commit] groff/man groff_tmac.man


From: Eric S. Raymond
Subject: [Groff-commit] groff/man groff_tmac.man
Date: Sun, 04 Feb 2007 17:01:59 +0000

CVSROOT:        /sources/groff
Module name:    groff
Changes by:     Eric S. Raymond <esr>   07/02/04 17:01:59

Modified files:
        man            : groff_tmac.man 

Log message:
        Use portable form of conditional, get rid of unused macro.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/man/groff_tmac.man?cvsroot=groff&r1=1.19&r2=1.20

Patches:
Index: groff_tmac.man
===================================================================
RCS file: /sources/groff/groff/man/groff_tmac.man,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- groff_tmac.man      4 Feb 2007 16:47:37 -0000       1.19
+++ groff_tmac.man      4 Feb 2007 17:01:59 -0000       1.20
@@ -54,7 +54,7 @@
 ..
 .c --------------------------------------------------------------------
 .de BIR
-.  ie (\\n[.$] < 3) \
+.  ie \\n[.$]<3 \
 .    BI \\$@
 .  el \{\
 .    ds @tmp@ \fB\\$1\f[]\fI\\$2\f[]
@@ -75,21 +75,12 @@
 .  hy
 ..
 .c --------------------------------------------------------------------
-.c .Error  (<text>...)
-.c
-.c Print error message to terminal and abort.
-.c
-.de Error
-.  tm \\$*
-.  ab
-..
-.c --------------------------------------------------------------------
 .c .Text  (<text>...)
 .c
 .c Treat the arguments as text, no matter how they look.
 .c
 .de Text
-.  if (\\n[.$] == 0) \
+.  if \\n[.$]=0 \
 .    return
 .  nop \)\\$*\)
 ..
@@ -99,7 +90,7 @@
 .c A bulleted paragraph
 .c
 .de Topic
-.  ie (\\n[.$] = 0) \
+.  ie \\n[.$]=0 \
 .    ds @indent 2m\"
 .  el \
 .    ds @indent \\$1\"
@@ -135,13 +126,6 @@
 .  Text address@hidden@]\\$*
 .  rm @tmp@
 ..
-.c --------------------------------------------------------------------
-.de escape
-.  ds @tmp@ \f[CB]\\$1\f[]
-.  shift 1
-.  Text address@hidden@]\\$*
-.  rm @tmp@
-..
 .\" --------------------------------------------------------------------
 .\" SH DESCRIPTION
 .\" --------------------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]