File mttroot/mtt/bin/trans/strip_notvars.sh artifact 898b1963cb part of check-in 7dd8c4e86f
#! /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}