Re:Sockets in Your Shell
by fl0wenol on Thursday December 03, 2020 @05:19PM
(#25296026)
You really really should use if COMMAND logic, in the event that all you care about is zero or non-zero result. I find it easier to follow for shell control flow.
It also works for shell functions.