bug
This commit is contained in:
parent
8989f00231
commit
8655a95d37
2
ulib/awk
2
ulib/awk
|
@ -1326,7 +1326,7 @@ END {
|
|||
}
|
||||
}
|
||||
'
|
||||
|
||||
|
||||
ac_clean "$tmpleft" "$tmpright" "$tmpmerged"
|
||||
return 0
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue