Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
mapfile (Re: More ramblings Re: zsh/termcap and zsh/terminfo modules)
- X-seq: zsh-workers 13939
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: mapfile (Re: More ramblings Re: zsh/termcap and zsh/terminfo modules)
- Date: Tue, 10 Apr 2001 17:35:17 +0000
- In-reply-to: <Tc0a88d0152d0844d1d@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <Tc0a88d0152d0844d1d@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author