On Saturday, 22 June 2019 13:05:21 UTC+1, Dave, G1OGY wrote: > > > > while read line ; do > echo "$line" | grep -q "[Errno 110]" > if [ $? = 0 ] > >
the "[" "]" are an unforeseen problem to `grep`; Change to simply: "Errno 110" 'OGY --- http://www.g1ogy.com/wx -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/ceed2f5d-c73c-45aa-92e5-b343679f523c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.