Index: mttroot/mtt/bin/trans/cmp2sub_m2sh ================================================================== --- mttroot/mtt/bin/trans/cmp2sub_m2sh +++ mttroot/mtt/bin/trans/cmp2sub_m2sh @@ -11,10 +11,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.3 1996/11/01 12:48:21 peterg +## Run mtt in quiet mode. +## ## Revision 1.2 1996/10/20 19:22:41 peterg ## Cleans up after itself. ## ## Revision 1.1 1996/10/20 19:19:50 peterg ## Initial revision @@ -23,11 +26,11 @@ #Inform user echo Creating $1_sub.sh -echo '# Commands to generate subsystems'> $1_sub.sh +echo '# Commands to generate subsystem representations'> $1_sub.sh echo "# File $1_sub.sh" >> $1_sub.sh echo "# Generated by MTT on `date`." >> $1_sub.sh echo >> $1_sub.sh # Get a list of all components for the _cmp file @@ -41,11 +44,11 @@ sed 's/^one$/1/' |\ sort -u >mtt_tmp2 # Print the non-standard components comm mtt_tmp1 mtt_tmp2 |\ - awk 'BEGIN{FS="\t"}{if (length($1)>0) print "mtt -q", $1, "abg m"}' \ + awk 'BEGIN{FS="\t"}{if (length($1)>0) print "$1" $1 "$2"}' \ >>$1_sub.sh # Clean up mtt_tmp files rm -f mtt_tmp1 mtt_tmp2