Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/vgrind Use the new name for the macro file (vgrind.t...



details:   https://anonhg.NetBSD.org/src/rev/3332004f8883
branches:  trunk
changeset: 550709:3332004f8883
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Aug 18 14:10:22 2003 +0000

description:
Use the new name for the macro file (vgrind.tmac) instead of the old
one (tmac.vgrind), the advantage being that the former exists.

diffstat:

 usr.bin/vgrind/vgrind.sh |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r 6edfccf1b83f -r 3332004f8883 usr.bin/vgrind/vgrind.sh
--- a/usr.bin/vgrind/vgrind.sh  Mon Aug 18 13:04:10 2003 +0000
+++ b/usr.bin/vgrind/vgrind.sh  Mon Aug 18 14:10:22 2003 +0000
@@ -1,6 +1,6 @@
 #!/bin/csh -f
 #
-#      $NetBSD: vgrind.sh,v 1.4 2002/10/27 12:29:11 kleink Exp $
+#      $NetBSD: vgrind.sh,v 1.5 2003/08/18 14:10:22 pooka Exp $
 #
 # Copyright (c) 1980, 1993
 #      The Regents of the University of California.  All rights reserved.
@@ -43,6 +43,7 @@
 set head=""
 set vf=/usr/libexec/vfontedpr
 set tm=/usr/share/tmac
+set vmacs=vgrind.tmac
 top:
 if ($#argv > 0) then
     switch ($1:q)
@@ -111,9 +112,9 @@
     sed -f nindex index >xindex
     if ($f == 'filter') then
        if ("$head" != "") then
-           $vf $options -h "$head" $files | cat $tm/tmac.vgrind -
+           $vf $options -h "$head" $files | cat $tm/$vmacs -
        else
-           $vf $options $files | cat $tm/tmac.vgrind -
+           $vf $options $files | cat $tm/$vmacs -
        endif
     else
        if ("$head" != "") then
@@ -129,9 +130,9 @@
 else
     if ($f == 'filter') then
        if ("$head" != "") then
-           $vf $options -h "$head" $files | cat $tm/tmac.vgrind -
+           $vf $options -h "$head" $files | cat $tm/$vmacs -
        else
-           $vf $options $files | cat $tm/tmac.vgrind -
+           $vf $options $files | cat $tm/$vmacs -
        endif
     else
        if ("$head" != "") then



Home | Main Index | Thread Index | Old Index