Index: mttroot/mtt/bin/trans/mtt_update ================================================================== --- mttroot/mtt/bin/trans/mtt_update +++ mttroot/mtt/bin/trans/mtt_update @@ -11,10 +11,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.15 2000/10/17 09:53:05 peterg +## More on logic rep +## ## Revision 1.14 2000/10/17 08:36:56 peterg ## Included logic rep. ## ## Revision 1.13 2000/10/15 09:27:13 peterg ## Better way of generating $infofile @@ -79,11 +82,21 @@ textfile=$1_$2.$lang infofile=$1_sympar.$lang moreinfofile=$infofile default='1.0' ;; - state|input) + input) + lang=txt + textfile=$1_$2.$lang + infofile=mtt_list.$lang + moreinfofile=mtt_list_numpar.$lang + awk '{if ($1==rep) printf("%s\n", $4)}' rep=$2 \ + <$1_struc.txt >$infofile + cat $infofile $1_sympar.$lang> $moreinfofile + default='1.0' + ;; + state) lang=txt textfile=$1_$2.$lang infofile=mtt_list.$lang moreinfofile=mtt_list_numpar.$lang awk '{if ($1==rep) printf("%s\n", $4)}' rep=$2 \