From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15558 invoked from network); 15 May 2000 09:29:03 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 15 May 2000 09:29:03 -0000 Received: (qmail 24404 invoked by alias); 15 May 2000 09:28:55 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11363 Received: (qmail 24396 invoked from network); 15 May 2000 09:28:54 -0000 Date: Mon, 15 May 2000 11:28:52 +0200 (MET DST) Message-Id: <200005150928.LAA14829@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: mason@primenet.com.au's message of 15 May 2000 08:04:11 GMT Subject: Re: ${-str} Geoff Wing wrote: > Tanaka Akira 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@informatik.hu-berlin.de