Artifact cdd0534fee841f1a704ec277d314bae11cde1a7fe592337ebd8ebc2107956d62:
- Executable file mtt/bin/trans/mtt_multi — 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: 488) [annotate] [blame] [check-ins using] [more...]
- Executable file
mttroot/mtt/bin/trans/mtt_multi
— 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: 488) [annotate] [blame] [check-ins using]
#!/bin/sh # Does mutiple commands down the hierarchy command=$1 system=$2 rep=$3 lang=$4 relative_level=$5 current_level=`echo $system | gawk '{N=split($1,foo,"_"); print N-1}'` if [ -z "$relative_level" ]; then relative_level=0; fi mtt_xargs.sh "ls" "$2*_$3.$4" |\ gawk '{ level=split($1,foo,"_")-2; maxlevel = current_level + relative_level; if (level<=maxlevel) print command, $0, "&"; '} command=$command relative_level=$relative_level current_level=$current_level