bug-bash
[Top][All Lists]
Advanced

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

Re: Inconsistence when checking if a pattern is quoted or not for `==' a


From: Clark J. Wang
Subject: Re: Inconsistence when checking if a pattern is quoted or not for `==' and `=~' in [[ ]]
Date: Fri, 18 Feb 2011 22:28:40 +0800

On Fri, Feb 18, 2011 at 9:10 PM, Greg Wooledge <address@hidden> wrote:

> On Thu, Feb 17, 2011 at 05:18:23PM -0500, Chet Ramey wrote:
> > Maybe if the man page had read "...to force the quoted portion to be
> > matched as a string" this could have been avoided.
>
> I like this answer.  Removing ambiguity ("it" could refer to the
> whole pattern or to the quoted portion) is always good.
>
>
After such a long discussion and I thought about it more. Isn't so difficult
for people to really understand the correct syntax of =~ matching? I just
felt that 3.1 behavior is much more straightforward for me to understand.

-- 
Clark J. Wang


reply via email to

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