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