Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [SOLVED] Libtool/zsh quoting problem: a zsh... bug?
- X-seq: zsh-workers 22230
- From: DervishD <zsh@xxxxxxxxxxxx>
- To: Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: [SOLVED] Libtool/zsh quoting problem: a zsh... bug?
- Date: Sat, 11 Feb 2006 19:22:54 +0100
- Cc: Zsh-workers <zsh-workers@xxxxxxxxxx>
- In-reply-to: <20060211181440.GA30984@xxxxxxxxxxxxx>
- Mail-followup-to: Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>, Zsh-workers <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: DervishD
- References: <20060209233201.GA5875@fargo> <20060211093607.GD10579@DervishD> <200602111321.48602.arvidjaar@xxxxxxxxxx> <20060211181440.GA30984@xxxxxxxxxxxxx>
Hi Wayne :)
* Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx> dixit:
> On Sat, Feb 11, 2006 at 01:21:43PM +0300, Andrey Borzenkov wrote:
> > See this thread: <http://www.zsh.org/mla/workers/2002/msg00542.html>; there
> > was an attempt to fix it in 16949 but apparently it was incomplete and never
> > went in.
>
> I just took a look at that code using Peter's old patch as a start, and
> the assertion that the quotes have been stripped out is not quite true:
> there are still Dnull and Snull characters remaining which indicate that
> there used to be a double- or single-quotes present. This allows us to
> check the string. An overly simple version is this:
Thanks for the patch, Wayne :)
> One question I have is what to do about ${=1:"$@"}? In the patch above,
> I chose to let the double quotes override the '='.
I think this is correct, because anyway using both "=" and double
quotes doesn't make much sense...
Raúl Núñez de Arenas Coronado
--
Linux Registered User 88736 | http://www.dervishd.net
http://www.pleyades.net & http://www.gotesdelluna.net
It's my PC and I'll cry if I want to... RAmen!
Messages sorted by:
Reverse Date,
Date,
Thread,
Author