Artifact 57449ae811dea73493fcc6aa5a90f927a2d9c6446b5e9d1b3e77d30494f496a5:
- Executable file mttroot/mtt/bin/trans/mtt_getsize — part of check-in [7021067391] at 2000-04-07 19:10:01 on branch origin/master — Extra Nxx version (user: gawthrop@users.sourceforge.net, size: 447) [annotate] [blame] [check-ins using]
#! /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$ 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