Aharon Robbins wrote: > My two cents: this isn't worth the trouble. I've written lots of shell scripts > in my life, and typically all one really wants to know is success/failure: > ... > My suggestion is to K.I.S.S.: > > EXIT CODE > 0 - found at least one match > 1 - found no matches at all > 2 - something went wrong
I also agree with this sentiment. The above is the useful practical behavior. Bob