From 77f2ac283286f1352d80048989e8c9ab1fe97f3d Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Sun, 8 Mar 2015 17:18:05 +0400 Subject: [PATCH] =?UTF-8?q?support=20de=20la=20variable=20UTOOLS=5FAWKRUN?= =?UTF-8?q?=5FDEBUG=20pour=20afficher=20un=20script=20lanc=C3=A9=20par=20a?= =?UTF-8?q?wkrun?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/ulib/base | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ulib/base b/lib/ulib/base index abe0ab3..6edfd17 100644 --- a/lib/ulib/base +++ b/lib/ulib/base @@ -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 "$@"; }