[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Recent bug in pattern matching in a case statement
From: |
Dave Hines |
Subject: |
Re: Recent bug in pattern matching in a case statement |
Date: |
Tue, 15 Oct 2002 17:23:07 +0100 |
User-agent: |
Mutt/1.3.28i |
On Tue, Oct 15, 2002 at 04:30:27PM +0100, Dave Hines wrote:
> There is a problem with pattern matching in case statements.
> When using a case statement inside a for loop, the pattern
> *[A-Z]* incorrectly matches a string of all lower case letters
> after the first time around the loop.
After more tests this appears not to be a bash problem, but a RedHat
problem. Using the latest bash sources with patches applied, and
compiling on different platforms yeilds different results on those
platforms.
RedHat 7.3 using gcc Fails
RedHat 7.3 using kgcc Fails
SuSE 8.0 using gcc Works
In my previous tests, the version 2.05.0(1)-release which worked was
from a SuSE distribution, and the version 2.05a.0(1)-release which
failed was from RedHat. At that time all my compiles had also been on
the RedHat 7.3 system.
Sorry to have troubled this list with my wrong diagnosis.
Dave.