From 3210536411f1c532d0e53acf280fb69bba7e951f Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 7 Oct 2013 11:54:05 +0000 Subject: [PATCH] no escapes in debug function svn path=/trunk/; revision=13 --- index.cgi | 2 +- pages/attendees.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.cgi b/index.cgi index 327135f..90ded2d 100755 --- a/index.cgi +++ b/index.cgi @@ -7,7 +7,7 @@ die() { } debug() { #change to false to disable debugging #true && echo "$*" >>debug - true && [ -n "$*" ] && echo "$*" >>/dev/stderr + true && [ -n "$*" ] && echo -E "$*" >>/dev/stderr true && [ -z "$*" ] && tee /dev/stderr } diff --git a/pages/attendees.sh b/pages/attendees.sh index a2730e6..4c84af1 100755 --- a/pages/attendees.sh +++ b/pages/attendees.sh @@ -134,7 +134,7 @@ vcf_parse() { case "$line" in key=*) echo -E "$line" ;; - value=*) echo -E "$line" + value=*) echo -E "$line" |debug ;; tag=*) ot='' echo -E "$line" \ -- 2.39.2