Artifact 898b1963cb140051d5acc0a73bcda20820a852e1c7b80e874e9b9ed142ebbaaf:
- 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]
#! /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}