Re: -e does not work inside subscript when using || or && operator outside

2008-08-07 Thread Archimerged Ark Submedes
On Wed, Aug 6, 2008 at 7:13 AM, Christian Jaeger <[EMAIL PROTECTED]> wrote: >$ bash -c '( set -e ; false; echo "hu?" ) || echo "false"' >hu? ># expecting "false" > >$ bash -c '( set -e ; false; echo "hu?" ); if [ $? -ne 0 ]; then echo > "false"; fi' >false >

Re: -e does not work inside subscript when using || or && operator outside

2008-08-06 Thread Christian Jaeger
Sorry, I've now downloaded the list archives and by searching them realized that the same bug has been reported twice in the last 1.5 years. I should have done that first; someone in the #bash irc channel actually pointed me to the other bug (the link to the ml archive), and somehow from that p

-e does not work inside subscript when using || or && operator outside

2008-08-06 Thread Christian Jaeger
(This is a resend because the gnu.org ml server didn't accept the sender email address that was given by my mailing setup; the first attempt has also been sent to [EMAIL PROTECTED]) Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Comp