Artifact f11b785f2c50d608cf4e6ad41d436e4d183b7ae9df57fe666e75e0fe228b171e:
- Executable file mttroot/mtt/bin/trans/mtt_multi — part of check-in [99faef62e3] at 2000-09-14 09:53:17 on branch origin/master — Default is zero (user: gawthrop@users.sourceforge.net, size: 293) [annotate] [blame] [check-ins using]
#!/bin/sh
# Does mutiple commands down the hierarchy
command=$1
system=$2
rep=$3
lang=$4
maxlevel=$5
if [ -z "$maxlevel" ]; then
maxlevel=0;
fi
ls $2*_$3.$4 |\
awk '{
level=split($1,foo,"_")-2;
if (level<=maxlevel) print command, $0, "&";
'} command=$command maxlevel=$maxlevel