From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10256 invoked from network); 30 Apr 1999 10:01:11 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 30 Apr 1999 10:01:11 -0000 Received: (qmail 16807 invoked by alias); 30 Apr 1999 10:01:06 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6169 Received: (qmail 16800 invoked from network); 30 Apr 1999 10:01:04 -0000 From: "Bart Schaefer" Message-Id: <990430025339.ZM13312@candle.brasslantern.com> Date: Fri, 30 Apr 1999 02:53:38 -0700 In-Reply-To: <9904300814.AA46597@ibmth.df.unipi.it> Comments: In reply to Peter Stephenson "PATCH: 3.1.5++/3.0.6 Re: Parameter substitution bug" (Apr 30, 10:14am) References: <9904300814.AA46597@ibmth.df.unipi.it> X-Mailer: Z-Mail (4.0b.820 20aug96) To: Peter Stephenson , zsh-workers@sunsite.auc.dk (Zsh hackers list) Subject: Re: PATCH: 3.1.5++/3.0.6 Re: Parameter substitution bug MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Apr 30, 10:14am, Peter Stephenson wrote: } Subject: PATCH: 3.1.5++/3.0.6 Re: Parameter substitution bug } } "Bart Schaefer" wrote: } > Because globsubst and ${~...} only do filename *generation* not filename } > *expansion*. It's always been like this ... you never noticed? } } No, that's not the answer, and it certainly hasn't always been like this. What am I thinking of, then? Hmm ... back on 20aug98, I wrote in zsh-workers/4342: > I've just diffed the 3.0.5 multicomp against a much older one, and found > that the original function used > > eval "reply=($reply)" > > where the current version uses > > reply=(${~reply}) > > The former expands tildes, the latter does not. and I went on to prove that black is white, and now I've just been killed at the zebra crossing. So when did this get broken, and how come nobody noticed seven months ago? -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com