8
9
10
11
12
13
14
15
16
17
|
# 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
|
>
>
>
>
|
>
|
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# 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
|