1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
# Makes subsystems for partitioning
# Copyright (C) 2000 by Peter J. Gawthrop
echo Creating subsystems for $1_$2.$3
# Get subsystems
subsystems=`mtt_get_subsystems -strip $1`;
for subsystem in $subsystems; do
mtt -q -sub $subsystem $1 $2 $3
## Repeating systems need sorting out !!!!
#cp $1_$subsystem"_"$2.$3 $1_$subsystem"_1_"$2.$3
done
|
>
|
>
>
>
|
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
# Makes subsystems for partitioning
# Copyright (C) 2000 by Peter J. Gawthrop
options=$1
sys=$2
rep=$3
lang=$4
echo Creating subsystem representations for ${sys}_${rep}.${lang}
# Get subsystems
subsystems=`mtt_get_subsystems -strip ${sys}`;
for subsystem in $subsystems; do
echo mtt $options -u -q -sub $subsystem ${sys} ${rep} ${lang}
## Repeating systems need sorting out !!!!
#cp $1_$subsystem"_"$2.$3 $1_$subsystem"_1_"$2.$3
done
|