Added filename output to sleepmon
authorTomas Mudrunka <tomas@mudrunka.cz>
Wed, 1 Aug 2012 05:13:56 +0000 (07:13 +0200)
committerTomas Mudrunka <tomas@mudrunka.cz>
Wed, 1 Aug 2012 05:13:56 +0000 (07:13 +0200)
c/goertzel/sleepmon.sh

index 3b975ba06d0c84c9a1913dda205638bef4ac98d2..42bbcad33f37a50fb2c249bd50b67b69835d7fc3 100755 (executable)
@@ -21,6 +21,7 @@ screen=false
 while getopts "s" OPT; do
        test "$OPT" == 's' && screen=true;
 done
+echo "Writing to file: $out";
 arecord | ./goertzel -n -q -l -t $tresh -d 4 | while read line; do
        date="$(date +%s)"
        time="$(echo "$line" | cut -f 1)"
This page took 0.186292 seconds and 4 git commands to generate.