Artifact ea7dd9515e5a2e427330a9063c9f26c92c50eaaef8c0a58873732626842296c4:
- Executable file mttroot/mtt/bin/trans/mtt_get_subsystems — part of check-in [2278d2e6d7] at 2000-09-06 12:18:21 on branch origin/master — Remove sorting (user: gawthrop@users.sourceforge.net, size: 475) [annotate] [blame] [check-ins using]
#!/bin/sh # Gets the subsystems while [ -n "`echo $1 | grep '^-'`" ]; do case $1 in -strip ) strip=yes; ;; *) echo "$1 is an invalid argument - ignoring"; exit ;; esac shift done subsystems=`sh $1_sub.sh "echo grep " " $1_abg.m" |\ sh | awk -F '.' '{print $3}'` if [ -n "$strip" ]; then echo $subsystems else for subsystem in $subsystems; do echo -n $1_$subsystem' ' done echo fi