From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19394 invoked from network); 10 Apr 2001 17:35:38 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 10 Apr 2001 17:35:38 -0000 Received: (qmail 2307 invoked by alias); 10 Apr 2001 17:35:35 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13939 Received: (qmail 2289 invoked from network); 10 Apr 2001 17:35:33 -0000 From: "Bart Schaefer" Message-Id: <1010410173517.ZM18512@candle.brasslantern.com> Date: Tue, 10 Apr 2001 17:35:17 +0000 In-Reply-To: Comments: In reply to Peter Stephenson "Re: More ramblings Re: zsh/termcap and zsh/terminfo modules" (Apr 9, 5:28pm) References: X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: mapfile (Re: More ramblings Re: zsh/termcap and zsh/terminfo modules) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Apr 9, 5:28pm, Peter Stephenson wrote: } } $mapfile doesn't work properly when referred to as a full hash any more } --- it's supposed to give all the files in the current directory. It still works for me: zagzig% print -c ${(k)mapfile} config.log config.status Makefile Src config.h stamp-h Doc Test config.cache Config Etc config.modules The manual says "... the keys are the names of files in the current directory, and the values are empty (to save a huge overhead in memory)." So `print $mapfile' shouldn't show anything, but: zagzig% print -c $#mapfile 12 Unless this is different for you, I don't think there's anything wrong. -- 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