From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18806 invoked from network); 15 Jun 2000 09:20:49 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 15 Jun 2000 09:20:49 -0000 Received: (qmail 22092 invoked by alias); 15 Jun 2000 09:20:37 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11920 Received: (qmail 22085 invoked from network); 15 Jun 2000 09:20:37 -0000 Date: Thu, 15 Jun 2000 11:20:34 +0200 (MET DST) Message-Id: <200006150920.LAA04751@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Bart Schaefer"'s message of Thu, 15 Jun 2000 09:09:49 +0000 Subject: Re: _expand doesn't do brace expansion? Bart Schaefer wrote: > This is with all the latest patches (up to 11910): > > zagzig[35] ls Functions/{Misc,Prompts} > Completing `file' or `corrections'(BEEP) > zagzig[35] ls Functions/{Misc,Prompts} > (BEEP) > zagzig[35] ls Functions/{Misc,Prompts} > zagzig[35] ls Functions/Misc Functions/Prompts > > The test on line 85 is making it bail out early, but even with that test > removed it doesn't expand the braces. Oh, didn't everyone know that? % a='a{x,y}b' % echo ${(e)a} a{x,y}b % echo ${~a} a{x,y}b % echo damn right Change (e)? Use `eval echo ...'? Urgh? Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de