bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recent bug in pattern matching in a case statement


From: Chet Ramey
Subject: Re: Recent bug in pattern matching in a case statement
Date: Tue, 15 Oct 2002 11:57:11 -0400

> Machine Type: i686-pc-linux-gnu
> 
> Bash Version: 2.05b
> Patch Level: 0
> Release Status: release
> 
> Description:
>         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.

Read the Bash FAQ, question E9 and item 13 in the NOTES file and make
sure that your locale is not the issue.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )

Chet Ramey, ITS, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]