Index: mttroot/mtt/bin/trans/cbg_m2fig ================================================================== --- mttroot/mtt/bin/trans/cbg_m2fig +++ mttroot/mtt/bin/trans/cbg_m2fig @@ -16,10 +16,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.12 2001/03/23 14:55:03 gawthrop +## Fixed cosmetic bugs -- component display +## ## Revision 1.11 2000/12/28 12:19:49 peterg ## *** empty log message *** ## ## Revision 1.10 2000/09/14 12:04:48 peterg ## New 2 parameter version @@ -65,11 +68,11 @@ #| sh ) 2>mtt_error.txt #sh $1_type.sh 'cp ' '_fig.fig ' '_cbg.fig'> mtt_error.txt # Copy the unchaging part of the figure file -cat $1_head.fig $1_port.fig $1_bnd.fig> $2_cbg.fig +cat $1_head.fig $1_port.fig $1_bnd.fig $1_art.fig> $2_cbg.fig #Inform user echo Creating $2_cbg.fig -- component type $1 # Use matrix manipulation to accomplish the transformation Index: mttroot/mtt/bin/trans/rbg_fig2m ================================================================== --- mttroot/mtt/bin/trans/rbg_fig2m +++ mttroot/mtt/bin/trans/rbg_fig2m @@ -13,10 +13,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.5 2001/03/23 14:56:21 gawthrop +## Now puts space after header fields + write _port.fig +## ## Revision 1.4 2000/09/14 08:41:51 peterg ## *** empty log message *** ## ## Revision 1.3 1997/03/19 09:50:24 peterg ## Now creates the sabg (stripped abg) file. @@ -36,25 +39,28 @@ echo "Creating $1_head.fig" echo "Creating $1_fig.fig" echo "Creating $1_cmp.fig" echo "Creating $1_port.fig" echo "Creating $1_sabg.fig" +echo "Creating $1_art.fig" # Remove some files that I'm going to append to. rm -f $1_fig.fig rm -f $1_head.fig rm -f $1_cmp.fig rm -f $1_port.fig rm -f $1_bnd.fig +rm -f $1_art.fig # Create blank files touch $1_fig.fig touch $1_head.fig touch $1_cmp.fig touch $1_port.fig touch $1_bnd.fig +touch $1_art.fig # The following horrible sed thing is to replace tab by ---- # this is because I can't get sed to recognise tabs even if FS=" ". sed 's/ /---- /'<$1_abg.fig > $1_abg.mtt