support de la variable UTOOLS_AWKRUN_DEBUG pour afficher un script lancé par awkrun

This commit is contained in:
Jephté Clain 2015-03-08 17:18:05 +04:00
parent f619040e1f
commit 77f2ac2832
1 changed files with 2 additions and 1 deletions

View File

@ -2508,7 +2508,8 @@ function lawkrun() {
shift
done
local __ar_script="$(awkdef "${__ar_defs[@]}")"
#edebug "Script awkrun: $__ar_script"
[ -n "$UTOOLS_AWKRUN_DEBUG" ] && estep "Script awkrun: $__ar_script"
#pgawk -p "$__ar_script" "${__ar_args[@]}"
awk "$__ar_script" "${__ar_args[@]}"
}
function cawkrun() { LANG=C lawkrun "$@"; }