Re: Differentiating false from fatal

2008-09-09 Thread Jon Seymour
On Wed, Sep 10, 2008 at 9:32 AM, Dan Stromberg <[EMAIL PROTECTED]>wrote: > > Say you have a shell script, and you need it to be bulletproof. > > As you write it, you throw in error checking all over the place. > > But say you have a function that needs to return a boolean result in some > way - ca

Differentiating false from fatal

2008-09-09 Thread Dan Stromberg
Say you have a shell script, and you need it to be bulletproof. As you write it, you throw in error checking all over the place. But say you have a function that needs to return a boolean result in some way - call the function "bool_foo" for the sake of discussion. Further assume that bool_fo