From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13371 invoked from network); 15 May 2001 15:07:22 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 15 May 2001 15:07:22 -0000 Received: (qmail 626 invoked by alias); 15 May 2001 15:07:12 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14354 Received: (qmail 594 invoked from network); 15 May 2001 15:07:10 -0000 From: "Bart Schaefer" Message-Id: <1010515150532.ZM12184@candle.brasslantern.com> Date: Tue, 15 May 2001 15:05:32 +0000 In-Reply-To: <1010515144108.ZM12147@candle.brasslantern.com> Comments: In reply to "Bart Schaefer" "Re: destructive list-expand" (May 15, 2:41pm) References: <200105151418.QAA10209@beta.informatik.hu-berlin.de> <1010515144108.ZM12147@candle.brasslantern.com> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.dk Subject: Re: destructive list-expand MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On May 15, 2:41pm, Bart Schaefer wrote: } Subject: Re: destructive list-expand } } schaefer<507> echo "${(M)${(f)$(<=(print -l *))}:#*conf*}" } [expansion elided] } schaefer<507> echo ${(M)${(f)$(<=(print -l *))}:#*conf*}" } } Now the leading quote has been removed, but the trailing quote is there. } (They used to both disappear.) Just to be clear ... both of them disappearing is wrong too, of course. Why is it ever correct to delete quotes _anywhere_? Here's an even worse error: schaefer<510> echo '${(@M)${(f)$(<=(print -l *))}:#*conf*}' schaefer<510> echo ${(@M)${(f)$(<=(print -l *))}:#*conf*} Now both *single* quotes are gone. Bad news. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net