Re: [CentOS] CentOS 7 bash perhaps off topic - solved

2018-11-26 Thread Jerry Geis
Thanks... I have enhanced the function of smwebsocket to do the parts of the script that I thought the pipeline was doing... Jerry ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos

[CentOS] CentOS 7 bash perhaps off topic

2018-11-26 Thread Leroy Tennison
received this message in error, please notify the sender immediately by e-mail and delete all copies of the message. From: CentOS on behalf of Jerry Geis Sent: Monday, November 26, 2018 2:11 PM To: CentOS mailing list Subject: [EXTERNAL] [CentOS] CentOS 7 bash

Re: [CentOS] CentOS 7 bash perhaps off topic

2018-11-26 Thread KM via CentOS
So you are saying that the actual "while read line do ….. done …." is what is failing?Try sending the output of the smwebsocket "$URL" | grep Location so we may see what is being passed to the while read line. Additionally you could use sh -x to execute it and it may show something. You could

[CentOS] CentOS 7 bash perhaps off topic

2018-11-26 Thread Jerry Geis
hi all, I have a small script that seems to be exiting and hitting the sleep 60... The smwebsocket just connects to the web socket provided and outputs the data. This works manually. the myprogram just opens a database and writes the line... My desire is to run the smwebsocket, connect to the