Artifact 368cf1b1dc89e78e38a1ffc722177947c9bce2def3896dd908b4d0faffbc6dc3:
- Executable file mtt/bin/trans/mtt_get_subsystems — part of check-in [af3953deae] at 2021-03-01 11:39:42 on branch master — Cleanup repository after cvs2git conversion. (user: jeff@gridfinity.com, size: 534) [annotate] [blame] [check-ins using] [more...]
- Executable file
mttroot/mtt/bin/trans/mtt_get_subsystems
— part of check-in
[66bb5feadf]
at
2002-04-28 18:41:27
on branch origin/master
— Fixed [ 549658 ] awk should be gawk.
Replaced calls to awk with call to gawk. (user: geraint@users.sourceforge.net, size: 534) [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 | gawk -F '.' '{print $3}'`
if [ -n "$strip" ]; then
echo $subsystems
else
for subsystem in $subsystems; do
# echo -n $1_$subsystem' '
echo $1_$subsystem #| gawk '{printf("%s ",$1)}'
done
echo
fi