From 21ae8d573a575fe6ed433698387eb54657c300fe Mon Sep 17 00:00:00 2001 From: Brett Bohnenkamper Date: Tue, 25 Jun 2013 02:18:32 -0500 Subject: [PATCH] Switched to printf in errorOut and verboseOut. This may be the start of a big echo->printf move. --- screenfetch-dev | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/screenfetch-dev b/screenfetch-dev index 2ef2da1..9418d9c 100755 --- a/screenfetch-dev +++ b/screenfetch-dev @@ -70,11 +70,11 @@ shotfile=$(echo "screenFetch-`date +'%Y-%m-%d_%H-%M-%S'`.png") verbosity= function verboseOut { - echo -e "\033[1;31m:: \033[0m$1" + printf "\033[1;31m:: \033[0m$1\n" } function errorOut { - echo -e "\033[1;37m[[ \033[1;31m! \033[1;37m]] \033[0m$1" + printf "\033[1;37m[[ \033[1;31m! \033[1;37m]] \033[0m$1\n" } #############################################