Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ${-str}
- X-seq: zsh-workers 11366
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: ${-str}
- Date: Mon, 15 May 2000 11:01:24 +0100
- In-reply-to: "Your message of Mon, 15 May 2000 11:28:52 +0200." <200005150928.LAA14829@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Sven wrote:
> Geoff Wing wrote:
> > :serein% print -lr ${-str}
> > :569XZfims
> > % setopt norcs; echo ${-}
> > 569XZfims
>
> Yep. The same as for the other special parameters (`${$foo}').
> Shouldn't we change this to be an error? Or do we really need this for
> compatibility?
I think this should be an error. This was never documented behaviour and
most forms of bad parameter syntax produce complaints.
--
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