From 2fbfcde7b31158edd31950a62904dcc72a3966c3 Mon Sep 17 00:00:00 2001 From: Tomas Mudrunka Date: Wed, 1 Aug 2012 07:13:56 +0200 Subject: [PATCH] Added filename output to sleepmon --- c/goertzel/sleepmon.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/c/goertzel/sleepmon.sh b/c/goertzel/sleepmon.sh index 3b975ba..42bbcad 100755 --- a/c/goertzel/sleepmon.sh +++ b/c/goertzel/sleepmon.sh @@ -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)" -- 2.30.2