mhenn wrote:
Am 24.06.2011 11:51, schrieb Harald Dunkel:
Hi folks,
A colleague pointed me to this problem: If I run
( set -e; ( false; echo x ) )
in bash 4.1.5, then there is no screen output, as
expected. If I change this to
( set -e; ( false; echo x ) || echo y )
then I get
http://mywiki.wooledge.org/BashFAQ/105 -- Why doesn't set -e (set -o
errexit) do what I expected?
On 06/24/2011 03:51 AM, Harald Dunkel wrote:
> Hi folks,
>
> A colleague pointed me to this problem: If I run
>
> ( set -e; ( false; echo x ) )
>
> in bash 4.1.5, then there is no screen output, as
> expected. If I change this to
>
> ( set -e; ( false; echo x ) || echo y )
>
> then