Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ${-str}
- X-seq: zsh-workers 11363
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: ${-str}
- Date: Mon, 15 May 2000 11:28:52 +0200 (MET DST)
- In-reply-to: mason@xxxxxxxxxxxxxxx's message of 15 May 2000 08:04:11 GMT
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Geoff Wing wrote:
> Tanaka Akira <akr@xxxxxxxx> typed:
> :Z(4):akr@serein% Src/zsh -f
> :serein% print -lr ${-str}
> :569XZfims
> :serein%
> :
> :Hm. What's `569XZfims'?
>
> Looks like short option list to me.
>
> % zsh -f
> % echo ${-}
> 569XZfims
> % setopt rcs; echo ${-}
> 569XZims
> % setopt norcs; echo ${-}
> 569XZfims
>
> Src/options.c or the manual has a list.
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?
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author