delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/10/19:24:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sun, 10 Jul 2005 19:24:09 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Lev Bishop <lev DOT bishop AT gmail DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Problems with ash-20040127-3 (Attn: bash maintainer)
In-Reply-To: <ba40711f05071008186e03d65@mail.gmail.com>
Message-ID: <Pine.GSO.4.61.0507101923390.9496@slinky.cs.nyu.edu>
References: <070820052135 DOT 10000 DOT 42CEF188000C8AFE0000271022064246130A050E040D0C079D0A AT comcast DOT net> <ba40711f05071008186e03d65 AT mail DOT gmail DOT com>
MIME-Version: 1.0

On Sun, 10 Jul 2005, Lev Bishop wrote:

> On 08/07/05, Eric Blake  wrote:
> > Meanwhile, you will have to wait patiently until the upstream
> > maintainer releases a patch (because I haven't the faintest clue
> > where in the lexer to look for fixing his parse error).  Repeated
> > pinging on the cygwin list will not help speed up the situation.
>
> In bash 2.05b, file parse.y, line 2179ish:
>
>       else if MBTEST(was_dollar && (ch == '(' || ch == '{' || ch ==
> '['))       /* ) } ] */
>         /* check for $(), $[], or ${} inside quoted string. */
>
> Maybe something like:
>       else if MBTEST(open=='"' && was_dollar && (ch == '(' || ch == '{'
>                || ch == '['))       /* ) } ] */
>         /* check for $(), $[], or ${} inside " quoted string. */
>
> Might do the trick?
>
> I haven't tried it. Would need testing from someone who understands
> POSIX quoting in detail, to ensure it doesn't break other convoluted
> quoting rules...

FYI: <http://cygwin.com/ml/cygwin/2005-07/msg00396.html>.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019