On Mon, Mar 17, 2003 at 09:36:28AM +0100, Michael Bell wrote:
> >I am not sure though if you want to have "-e" on the end to
> >enable aborting on an error.
>
> I cannot find -e in the documentation of bash (man bash). So I don't
> added it.
Its a matter of finding it ;-)
AFAIK It is a POSIX specified parameter, it should work for
any POSIX compliant shell.
set [--abefhkmnptuvxBCHP] [-o option] [arg ...]
[...]
-e Exit immediately if a simple command (see
SHELL GRAMMAR above) exits with a non-zero
status. The shell does not exit if the
command that fails is part of an until or
while loop, part of an if statement, part
of a && or || list, or if the command's
return value is being inverted via !. A
trap on ERR, if set, is executed before the
shell exits.
You can also parse this on the command line of bash (although
don't ask me where that would be documented...).
People prefer it, because it makes errors more obvious (otherwise
the error in the first file might have scrolled of the top of
the screen before you see it).
--
Brian May <[EMAIL PROTECTED]>
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
OpenCA-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-devel