On Mon, 15 May 2017 02:57:20 +0200 Carlos E. R. wrote:
The important thing to know is that in a bash script, $! contains the PID of the previous backgrounded program. $? should contain the PID of the previous command, and $$ the one of the shell or script.
With that info it is easy to write a script with wget instead :-)
Thanks for crossing my T's and dotting my I's Carlos! :) Istvan didn't describe the stream in detail, but as I presently understand it, when wget is used to retrieve a typical stream 'link,' it usually yields just a meta file which specifies the mime type and/or protocol along with the proper stream URI. I know it can be used to fetch media files, but I'd be very surprised to learn that it can now also decode and dump streams :) hence my quick example showing one of many possible alternate solutions. regards, Carl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org