Artifact 287aaaa69db9e4e6ff23ff876da8bdab685ebb94af4f66701efaa9b3ccd9e9d0:
- Executable file mttroot/mtt/bin/trans/mtt_multi — part of check-in [7c9be095dd] at 2000-09-14 09:48:45 on branch origin/master — Initial revision (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=1;
fi
ls $2*_$3.$4 |\
awk '{
level=split($1,foo,"_")-2;
if (level<=maxlevel) print command, $0, "&";
'} command=$command maxlevel=$maxlevel