Aligned humandebug columns
authorHarvie <tomas@mudrunka.cz>
Fri, 3 Aug 2012 04:30:45 +0000 (06:30 +0200)
committerHarvie <tomas@mudrunka.cz>
Fri, 3 Aug 2012 04:30:45 +0000 (06:30 +0200)
c/goertzel/sleepmon.sh

index 9f0edd27093870633a3a2fbe53e8fdb7cb5e8924..b0505091e06e99d17a24762f7d744df93a144c0f 100755 (executable)
@@ -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 && {
This page took 0.131514 seconds and 4 git commands to generate.