bug-bash
[Top][All Lists]
Advanced

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

Re: compat31


From: Marc Herbert
Subject: Re: compat31
Date: Tue, 15 Feb 2011 14:08:34 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Thunderbird/3.1.7

Le 14/02/2011 15:03, Dennis Williamson a écrit :
> I'm having a discussion with someone who claims that for them on Bash
> 4.0.33, with compat31 *off*, they are getting 3.1 behavior with quoted
> patterns in a =~ match.
> 
> They're saying that this:
> 
> [[ a =~ "." ]] && echo match || echo no
> 
> results in "match".
> 
> I cannot reproduce this without doing
> 
> shopt -s compat31
> 
> or removing the quotes. Are there any other circumstances that could
> produce this behavior?

I think this qualifies:

http://thread.gmane.org/gmane.comp.shells.bash.bugs/15080/focus=15107





reply via email to

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