Artifact f46240854541869cf3a05033076e2eccd0d1c2fd6b976c8c0f0ecdab51e550c2:
- Executable file
mttroot/mtt/bin/trans/mtt_get_subsystems
— part of check-in
[2bfe6eaf9d]
at
2000-09-15 08:04:45
on branch origin/master
— Remove the -n echo switch due to version probs.
Its not needed anyway! (user: gawthrop@users.sourceforge.net, size: 532) [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' ' echo $1_$subsystem #| awk '{printf("%s ",$1)}' done echo fi