Differences From Artifact [45d48c9630]:
- Executable file
mttroot/mtt/bin/trans/strip_notvars.sh
— part of check-in
[636df344ed]
at
2002-04-28 18:58:07
on branch origin/master
— Fixed [ 549658 ] awk should be gawk.
Replaced calls to awk with call to gawk. (user: geraint@users.sourceforge.net, size: 173) [annotate] [blame] [check-ins using] [more...]
To Artifact [898b1963cb]:
- Executable file mtt/bin/trans/strip_notvars.sh — part of check-in [af3953deae] at 2021-03-01 11:39:42 on branch master — Cleanup repository after cvs2git conversion. (user: jeff@gridfinity.com, size: 274) [annotate] [blame] [check-ins using] [more...]
- Executable file
mttroot/mtt/bin/trans/strip_notvars.sh
— part of check-in
[f13a68b3bc]
at
2003-09-15 21:35:37
on branch origin/master
— pi is now an implicit NOTVAR.
This eliminates the problem of duplicate declarations when -cc is used.
It also eliminates errors due to pi being defaulted to 1 in numpar.txt. (user: geraint@users.sourceforge.net, size: 274) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 10 11 | #! /bin/sh type=$1 name=$2 file=$3 notvar="[%|#]NOT[V|P]AR" grep ${notvar} ${type}_lbl.txt |\ gawk '{ printf ("%s\t%s\n", $2, name) }' name=${name} \ >> ${file} | > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #! /bin/sh type=$1 name=$2 file=$3 notvar="[%|#]NOT[V|P]AR" grep ${notvar} ${type}_lbl.txt |\ gawk '{ printf ("%s\t%s\n", $2, name) }' name=${name} \ >> ${file} grep -i pi ${type}_lbl.txt |\ gawk '{ printf ("pi\t%s\n", name) }' name=${name} \ >> ${file} |