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.3 1997/05/15 07:13:31 peterg +# Removed "tolower" function. +# # Revision 1.2 1997/05/01 08:19:04 peterg # # is now used as the comment symbol # # Revision 1.1 1997/05/01 07:35:48 peterg # Initial revision @@ -30,12 +33,12 @@ echo "# Numerical parameter file ($1_numpar.txt)" > $1_numpar.txt echo "# Generated by MTT at `date`" >> $1_numpar.txt cat $MTTPATH/trans/rcs_header.txt >> $1_numpar.txt #Write out the variables in c format. -awk '{i++; print $1 " = \t1.0; \# Default value"}' $1_sympar.txt \ +awk '{i++; print tolower($1) " = \t1.0; \# Default value"}' $1_sympar.txt \ >> $1_numpar.txt Index: mttroot/mtt/bin/trans/sympar_txt2c ================================================================== --- mttroot/mtt/bin/trans/sympar_txt2c +++ mttroot/mtt/bin/trans/sympar_txt2c @@ -13,10 +13,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +# Revision 1.2 1997/05/15 07:10:56 peterg +# removed "tolower" function +# # Revision 1.1 1997/05/15 07:10:09 peterg # Initial revision # # Revision 1.3 1997/03/19 16:39:12 peterg # Put in the correct date. @@ -39,13 +42,13 @@ echo '*/' >> $1_sympar.c echo >> $1_sympar.c #Write out the variables in c format. -awk '{i++; print "extern double", $1 ";"}' $1_sympar.txt \ +awk '{i++; print "extern double", tolower($1) ";"}' $1_sympar.txt \ >> $1_sympar.c # Now invoke the standard error handling. # mtt_error mtt_error.txt Index: mttroot/mtt/bin/trans/sympar_txt2h ================================================================== --- mttroot/mtt/bin/trans/sympar_txt2h +++ mttroot/mtt/bin/trans/sympar_txt2h @@ -13,10 +13,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +# Revision 1.5 1997/05/15 07:11:45 peterg +# Removed "tolower" function +# # Revision 1.4 1997/05/01 13:51:37 peterg # Replaced float by double. # # Revision 1.3 1997/05/01 13:42:43 peterg # Chaged double to float @@ -43,11 +46,11 @@ echo '*/' >> $1_sympar.h echo >> $1_sympar.h #Write out the variables in c format. -awk '{i++; print "double", $1 ";"}' $1_sympar.txt >> $1_sympar.h +awk '{i++; print "double", tolower($1) ";"}' $1_sympar.txt >> $1_sympar.h # Now invoke the standard error handling. # mtt_error mtt_error.txt