bug-bash
[Top][All Lists]
Advanced

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

Re: bug in string pattern matching


From: Paul Jarc
Subject: Re: bug in string pattern matching
Date: Tue, 18 May 2004 23:54:53 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

address@hidden wrote:
> list='aaa bbb zzz AAA BBB ZZZ'
>
> for str in $list
> do
>     if [[ $str == [A-Z]* ]]

See entry E9 in the bash FAQ.


paul




reply via email to

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