Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Let's do it RE: Should we backup this change? RE: Modifier substitutions.
- X-seq: zsh-workers 11160
 
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
 
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
 
- Subject: Re: Let's do it RE: Should we backup this change? RE: Modifier substitutions.
 
- Date: Thu, 04 May 2000 16:56:05 +0100
 
- In-reply-to: "Your message of Thu, 04 May 2000 11:02:35 +0400." <000501bfb596$b9e75290$21c9ca95@xxxxxxxxxxxxxx>
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
> > The change went in in 6002.  It was followed in 6003 by a
> > change to allow
> > a leading double backslash to escape the delimiter.  So all
> > you need to
> > do is change uses of ${foo/$bar/...} into ${foo/\\$bar/...}
> > to avoid the
> > confusion.
> 
> Unfortunately, it is so inconsistent, that I really suggest to backup
> it.
I'm quite happy to remove it which is easy.  Currently there's no simple
replacement in the case of _configure, however, because (#s) doesn't get
tokenized (the `#' didn't need to be, it was always recognised, hence the
need for quoting).  This would require the -s option to _arguments to do
some kind of globsubst thing, which may or may not be desirable.  I haven't
looked for any other uses of this feature.
-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author