mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-26 06:50:37 +02:00
19 lines
282 B
Plaintext
19 lines
282 B
Plaintext
|
#!/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
|