1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/sh
######################################
##### Model Transformation Tools #####
######################################
# Bourne shell script: sub2subs
# Generates a list of all subsystems associated with system $1
# P.J.Gawthrop May 1997
# Copyright (c) P.J.Gawthrop, 1997.
# echo the name of the subsystems one level down
sh $1\_sub.sh "echo "
# Create the corresponding subsystems
sh $1\_sub.sh "mtt -q " " sub sh >\dev\null"
# Recursively execute the subsystem files
sh $1\_sub.sh "sub2subs "
|
<
<
|
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
######################################
##### Model Transformation Tools #####
######################################
# Bourne shell script: sub2subs
# Generates a list of all subsystems associated with system $1
# P.J.Gawthrop May 1997
# Copyright (c) P.J.Gawthrop, 1997.
# echo the name of the subsystems one level down
sh $1\_sub.sh "echo "
# Create the corresponding subsystems -- quietly!
(sh $1\_sub.sh "mtt -q " " sub sh") >/dev/null
# Recursively execute the subsystem files
sh $1\_sub.sh "sub2subs "
|