[Top][All Lists]

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


From: Dennis Williamson
Subject: compat31
Date: Mon, 14 Feb 2011 09:03:34 -0600

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?

They say that

shopt -p compat31

replies with "shopt -u compat31".

reply via email to

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