From: Harvie Date: Fri, 3 Aug 2012 04:30:45 +0000 (+0200) Subject: Aligned humandebug columns X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=e4016aeb50a60cdbc8e066999e13f5147e58d071;p=mirrors%2FPrograms.git Aligned humandebug columns --- diff --git a/c/goertzel/sleepmon.sh b/c/goertzel/sleepmon.sh index 9f0edd2..b050509 100755 --- a/c/goertzel/sleepmon.sh +++ b/c/goertzel/sleepmon.sh @@ -58,7 +58,7 @@ arecord | ./goertzel -n i -q -l c -t $tresh -d 4 | while read line; do } #Debug - echo -e "\t($statename $level After $after secs)"; + printf "\t(%s %3d After %4d secs)\n" "$statename" "$level" "$after"; #Fun with values $state && {