Bug is not present on newer versions, such as 2.04.21, shipped with
RH7.1.
But thanks for the bug report, Todd.
Brian
Envelope-to: bfox@localhost
Delivery-date: Wed, 20 Mar 2002 11:17:49 -0800
Date: Wed, 20 Mar 2002 11:12:11 -0800 (PST)
From: Tom Lord <lord@regexps.com>
This script illustrates an exit status bug in GNU bash labeled 2.02.1.
false
echo $?
! false
echo $?
( false )
echo $?
( ! false )
echo $?
Output from the script should be:
1
0
1
0
but is instead:
1
0
1
1