Oh, the shell is sh. Testing under OpenBSD, hence the -S which I think was a patch added by Stuart Henderson to use synch mode.
Normally the first parameter passed to a script replaces the $1 but that's not happening.
Code: Select all
#!/bin/sh rtl_fm -f $1 -M am -S -s 12k -g 50 -l 75 - | play -r 12000 \ -e signed-integer -b 16 -c 1 -t raw -