Index: mttroot/mtt/bin/trans/alias_txt2m ================================================================== --- mttroot/mtt/bin/trans/alias_txt2m +++ mttroot/mtt/bin/trans/alias_txt2m @@ -12,10 +12,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.1 1998/07/02 09:21:55 peterg +## Initial revision +## ############################################################### # Inform user echo Creating $1_alias.m @@ -25,11 +28,11 @@ echo "%% Alias file ($1_alias.m)" >> $1_alias.m echo "%% Generated by MTT at `date`" >> $1_alias.m #Write out the variables awk '{ - if (NF==2) {i++; print "alias."$1 "= \""$2"\";"} + if (NF==2) {i++; print "alias."$1 "\t = \""$2"\";"} } END{ if (i==0) print "alias = 0;" }' $1_alias.txt >> $1_alias.m