Index: mttroot/mtt/bin/trans/sympar2numpar_txt2txt ================================================================== --- mttroot/mtt/bin/trans/sympar2numpar_txt2txt +++ mttroot/mtt/bin/trans/sympar2numpar_txt2txt @@ -12,10 +12,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.10 1998/03/07 15:27:20 peterg +## Don't do initial states. +## ## Revision 1.9 1998/02/04 12:24:35 peterg ## Simplified output format ## ## Revision 1.8 1998/01/29 17:06:36 peterg ## Better annotation @@ -55,11 +58,11 @@ echo "# Generated by MTT at `date`" >> $1_numpar.txt cat $MTTPATH/trans/rcs_header.txt >> $1_numpar.txt #Write out the variables echo "# Parameters" >> $1_numpar.txt -awk '{i++; print tolower($1) " = \t1.0; \# " $2}' $1_sympar.txt \ +awk '{i++; if (NF>0) print tolower($1) " = \t1.0; \# " $2}' $1_sympar.txt \ >> $1_numpar.txt #Write out the initial states #echo >> $1_numpar.txt #echo "# Initial states" >> $1_numpar.txt