Index: mttroot/mtt/bin/trans/struc2input_txt2txt ================================================================== --- mttroot/mtt/bin/trans/struc2input_txt2txt +++ mttroot/mtt/bin/trans/struc2input_txt2txt @@ -12,10 +12,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.3 1998/01/29 17:06:21 peterg +## Better annotation of each input +## ## Revision 1.2 1997/05/15 09:44:12 peterg ## Put switches into the input file. ## # Revision 1.1 1997/05/03 14:55:17 peterg # Initial revision @@ -44,11 +47,13 @@ echo "# Generated by MTT at `date`" >> $1_input.txt cat $MTTPATH/trans/rcs_header.txt >> $1_input.txt #Write out the defaults -- inputs echo "# Set the inputs" >> $1_input.txt -awk '{i++; if($1=="input") print "u(" i ") =\t1.0; \# Input for system " $4 " (Component " $3 ")" +awk '{ + i++; + if($1=="input") print "u(" i ") =\t1.0; \# System " $4 ", Component " $3 }' $1_struc.txt >> $1_input.txt #Set some switches if [ "$switches" = "yes" ]; then