ADDED mttroot/mtt/bin/trans/m/rcs_header.txt Index: mttroot/mtt/bin/trans/m/rcs_header.txt ================================================================== --- /dev/null +++ mttroot/mtt/bin/trans/m/rcs_header.txt @@ -0,0 +1,8 @@ + +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% %% Version control history +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% %% $Id$ +% %% $Log$ +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + ADDED mttroot/mtt/bin/trans/makesubs Index: mttroot/mtt/bin/trans/makesubs ================================================================== --- /dev/null +++ mttroot/mtt/bin/trans/makesubs @@ -0,0 +1,75 @@ +#! /bin/sh + + ###################################### + ##### Model Transformation Tools ##### + ###################################### + +# Bourne shell script: makesubs +# Makes the default substitution file + +# Copyright (C) 2000 by Peter J. Gawthrop + + +############################################################### +## Version control history +############################################################### +## $Id$ +## $Log$ +## +############################################################### + +#Inform user +echo Creating $1_subs.r + +cat > $1_subs.r <> $1_subs.r + +cat >> $1_subs.r <> $1_subs.r <> $1_subs.r + +# Then states +Nx=`mtt_getsize $1 x` # States + +awk 'END{ + for (k=1;k> $1_subs.r + +cat >> $1_subs.r <$1 +