Index: mttroot/mtt/bin/trans/mtt_getsize ================================================================== --- mttroot/mtt/bin/trans/mtt_getsize +++ mttroot/mtt/bin/trans/mtt_getsize @@ -10,8 +10,13 @@ # 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/;//'` +if [ "$2" = "xx" ]; then + n=`mtt_getsize $1 x` + N=`echo "$n * $n" | bc` +else + N=`grep "MTTN$2 " <$1_def.r | awk '{print $3}' | sed 's/;//'` +fi echo $N