1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-22 14:10:37 +02:00
ben-wpan/usrp/evscan

19 lines
282 B
Plaintext
Raw Normal View History

#!/bin/sh
usage()
{
echo "usage: $0 base-dir" 1>&2
exit 1
}
[ -d "$1" ] || usage
[ "$2" ] && usage
for f in "$1"/24*; do
echo -n `basename "$f"` ''
for n in "$f"/data*; do
./fft -s 100 0 20 50 <"$n" || echo "fft failed for $n" 1>&1
done | ./range -v 2
done