Switched to printf in errorOut and verboseOut. This may be the start of a big echo->printf move.

This commit is contained in:
Brett Bohnenkamper
2013-06-25 02:18:32 -05:00
parent 4ede693b33
commit 21ae8d573a

View File

@@ -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"
}
#############################################