This commit is contained in:
Jephté Clain 2014-01-21 11:41:41 +04:00
parent 8989f00231
commit 8655a95d37
2 changed files with 4 additions and 4 deletions

View File

@ -1326,7 +1326,7 @@ END {
}
}
'
ac_clean "$tmpleft" "$tmpright" "$tmpmerged"
return 0
}

View File

@ -2502,14 +2502,14 @@ function awkdef() {
function lawkrun() {
# wrapper pour lancer awk avec un script préparé par awkdef. Les définitions et
# les arguments sont séparés par --, e.g.
# awkrun var0=value0 var1=value1 -- input0 input1
# awkrun var0=value0 var1=value1 script -- input0 input1
local -a __ar_defs __ar_args
while [ -n "$1" -a "$1" != "--" ]; do
while [ $# -gt 0 -a "$1" != "--" ]; do
__ar_defs=("${__ar_defs[@]}" "$1")
shift
done
shift
while [ -n "$1" ]; do
while [ $# -gt 0 ]; do
__ar_args=("${__ar_args[@]}" "$1")
shift
done