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.19 2003/08/05 15:29:36 gawthrop +## Now handles ss.r files with implicit zero values +## ## Revision 1.18 2003/08/04 09:10:30 gawthrop ## Now handles steady-state computation for _state.txt. ## ## Revision 1.17 2002/04/28 18:41:27 geraint ## Fixed [ 549658 ] awk should be gawk. @@ -155,11 +158,15 @@ # Inform User echo Checking $textfile else echo Creating $textfile mtt_header $sys $rep $lang > $textfile - info=`cut -f1 $infofile | sort` + if [ "${rep}" = "state" ]; then + info=`cut -f1 $infofile` # No sort + else + info=`cut -f1 $infofile | sort` # Sort + fi i=0; for new in $info; do let i=$i+1; initial_value $i ${default} echo $new $value |\