#!/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
(sh $1\_sub.sh " cmp2sub_m2sh " " ") >/dev/null
# Recursively execute the subsystem files
sh $1\_sub.sh "sub2subs "