From 38e23ff55647f2efbcd8df5becfb3df2022105d5 Mon Sep 17 00:00:00 2001 From: nojhan Date: Wed, 20 Feb 2013 10:17:46 +0100 Subject: [PATCH] remove a useless escape in front of the tests print --- test.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test.sh b/test.sh index 35c5b5b..03798b9 100755 --- a/test.sh +++ b/test.sh @@ -7,7 +7,8 @@ print_ok() local RAZ="\\033[0;39m" local cols=$1 local name=$2 - printf "\e${OK}%-${cols}s %-${cols}s\n${RAZ}" "$name" "OK" + # printf "\e${OK}%-${cols}s %-${cols}s\n${RAZ}" "$name" "OK" + printf "${OK}%-${cols}s %-${cols}s\n${RAZ}" "$name" "OK" } print_no() @@ -18,7 +19,8 @@ print_no() local name=$2 local sub=$3 local line=$4 - printf "\e${NOK}%-${cols}s %-${cols}s #%-5s\n${RAZ}" "$name" "$sub" "$line" + # printf "\e${NOK}%-${cols}s %-${cols}s #%-5s\n${RAZ}" "$name" "$sub" "$line" + printf "${NOK}%-${cols}s %-${cols}s #%-5s\n${RAZ}" "$name" "$sub" "$line" } assert()