bug-bash
[Top][All Lists]
Advanced

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

Re: bash 3.2 match operator problem


From: John Gatewood Ham
Subject: Re: bash 3.2 match operator problem
Date: Fri, 13 Oct 2006 11:44:01 +0700 (ICT)

Ok, so at least I'm not crazy; there is some kind of bug.
When you have a patch I'm eager to help test it.

Thank you,

JGH

On Thu, 12 Oct 2006, Chet Ramey wrote:

Ok, here is a smaller 3 line test case.  I have attempted to handle
the parenthesis as you instructed.  Under bash 3.0.17 BASH_REMATCH
gets the 4 pieces.  Under bash 3.2 I only get BASH_REMATCH=()
True, it no longer crashes.  But it doesn't work either...

I understand the problem, and have to consider the best solution.  It
appears that this will require a change to the shell parser, since [[
is part of the grammar.

Chet




reply via email to

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