10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright (c) P.J.Gawthrop, 1997.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.7 1998/02/04 10:59:37 peterg
## Tidied up.
##
# Revision 1.6 1997/09/08 19:42:37 peterg
# Replaced copy by compcopy
#
## Revision 1.5 1997/08/15 11:20:13 peterg
|
>
>
>
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Copyright (c) P.J.Gawthrop, 1997.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.1 2000/12/27 16:04:08 peterg
## Initial revision
##
## Revision 1.7 1998/02/04 10:59:37 peterg
## Tidied up.
##
# Revision 1.6 1997/09/08 19:42:37 peterg
# Replaced copy by compcopy
#
## Revision 1.5 1997/08/15 11:20:13 peterg
|
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
#Set up some names
filename=$2
figfile=$3_abg.fig
lblfile=$1_lbl.txt
summary='%SUMMARY'
#Get the system description, copying where necesary
mtt -q -u compcopy $system $MTTPATH/lib/comp/compound
# mtt -q -u $system lbl txt
desc=`grep $summary $lblfile | sed "s/$summary//"`
#Count the number of subsystems
subs=`grep -c $system $figfile`
if [ "$labels" = "yes" ]; then
|
|
|
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
#Set up some names
filename=$2
figfile=$3_abg.fig
lblfile=$1_lbl.txt
summary='%SUMMARY'
#Get the system description, copying where necesary
mtt -q -u compcopy $system $MTT_LIB/comp/compound
# mtt -q -u $system lbl txt
desc=`grep $summary $lblfile | sed "s/$summary//"`
#Count the number of subsystems
subs=`grep -c $system $figfile`
if [ "$labels" = "yes" ]; then
|