From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26503 invoked from network); 28 May 2001 05:53:35 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 28 May 2001 05:53:35 -0000 Received: (qmail 2807 invoked by alias); 28 May 2001 05:53:21 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14499 Received: (qmail 2789 invoked from network); 28 May 2001 05:53:20 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "ZSH Workers Mailing List" Subject: RE: ${...-...} vs ${...:-...} Date: Mon, 28 May 2001 09:53:16 +0400 Message-ID: <000501c0e73a$7d490230$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <1010528052854.ZM2038@candle.brasslantern.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 > > } bor@itsrm2% print ${(%)-%l} > } 5679KNTXYZhims > > ${(%)-%l} is ${-} is $- is the option flags. I can see why this might be > baffling, but I don't know what else zsh ought to do. > Hmm ... output an error message? I mean, ${(...)-} is an $-; but ${-blablabla} does not lool like it. Or interpret it as the ${...:-...}? -andrej