From 75b4a1c6d616df9c86fa7f20cce3d39f13b039fc Mon Sep 17 00:00:00 2001 From: Ryan Loudfoot Date: Sat, 2 Nov 2013 13:18:46 -0400 Subject: [PATCH] Run through shellcheck.net. Converted all printf to echo since it's easier, may convert back later if given good reason. --- check_temp.sh | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/check_temp.sh b/check_temp.sh index 3533d45..339daf8 100755 --- a/check_temp.sh +++ b/check_temp.sh @@ -33,7 +33,7 @@ # # ############################################################################### -VERSION="Version 0.91" +VERSION="Version 0.92" AUTHOR="(c) 2011 Jack-Benny Persson (jack-benny@cyberinfo.se)" # Sensor program @@ -59,15 +59,15 @@ shopt -s extglob # Print version information print_version() { - printf "\n\n$0 - $VERSION\n" + echo "$0 - $VERSION" } #Print help information print_help() { print_version - printf "$AUTHOR\n" - printf "Monitor temperature with the use of sensors\n" + echo "$AUTHOR" + echo "Monitor temperature with the use of sensors" /bin/cat <