ADDED mttroot/mtt/bin/trans/mtt_getsize Index: mttroot/mtt/bin/trans/mtt_getsize ================================================================== --- /dev/null +++ mttroot/mtt/bin/trans/mtt_getsize @@ -0,0 +1,17 @@ +#! /bin/sh + + ###################################### + ##### Model Transformation Tools ##### + ###################################### + +# Bourne shell script: p2C + +# Gets array sizes for the def.r file +# P.J.Gawthrop Feb 2000 +# Copyright (C) 2000 by Peter J. Gawthrop + + #$Id$ + +N=`grep "MTTN$2 " <$1_def.r | awk '{print $3}' | sed 's/;//'` + +echo $N