From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27422 invoked from network); 7 Jun 2001 07:03:40 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 7 Jun 2001 07:03:40 -0000 Received: (qmail 26107 invoked by alias); 7 Jun 2001 07:03:21 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14781 Received: (qmail 26087 invoked from network); 7 Jun 2001 07:03:20 -0000 From: Sven Wischnowsky Date: Thu, 7 Jun 2001 09:02:20 +0200 (MET DST) Message-Id: <200106070702.JAA24159@beta.informatik.hu-berlin.de> To: zsh-workers@sunsite.dk Subject: Re: ${...%%=*} problem In-Reply-To: <000601c0ef1c$fa138580$21c9ca95@mow.siemens.ru> Andrej Borsenkow wrote: > bor@itsrm2% print ${foo%%=*} > zsh: * not found > > Why? Because it does expansion, include the one after an equal sign: % echo =* zsh: * not found Yeah, I know, this seems silly, and I had to learn that the hard way, too (when starting with the completion system I sometimes forgot to quote that `=' with a backslash...). Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de