[raspberry-vi] editing scripts

  • From: "Glenn K0LNY" <glennervin@xxxxxxxxxxxx>
  • To: <raspberry-vi@xxxxxxxxxxxxx>
  • Date: Wed, 20 Jan 2021 13:08:05 -0600

Hi All,
So I made my scripts in windows, and they don't run.
I ran it in the terminal, and the last line error reads:
:numeric argument required
I'm wondering if that is referring to that I left out the line at the end:
exit 0
Here's the file contents:
#!/bin/bash
rtl_fm -M am -f 027.185M -s 22k | play -t raw -r 22k -es -b 16 -c 1 -V1 -


This command works when I type it in.
I did chmod +x *.sh in the folders with the .SH files.
Thanks.

Glenn
=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

Other related posts: