Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Files modified after a given date
- X-seq: zsh-users 2528
- From: Gabor <gabor@xxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>, zsh-users@xxxxxxxxxxxxxx
- Subject: Re: Files modified after a given date
- Date: Fri, 27 Aug 1999 19:44:19 -0400
- In-reply-to: <990827224347.ZM28594@xxxxxxxxxxxxxxxxxxxxxxx>; from Bart Schaefer on Fri, Aug 27, 1999 at 10:43:47PM +0000
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <199908230809.KAA02317@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <19990827175122.A2818@xxxxxxxxxx> <990827224347.ZM28594@xxxxxxxxxxxxxxxxxxxxxxx>
On Fri, Aug 27, 1999 at 10:43:47PM +0000, Bart Schaefer wrote:
# On Aug 27, 5:51pm, Gabor wrote:
# > Subject: Re: Files modified after a given date
# > === gabor $ builtin stat -H foo .zshrc
# > zsh: attempt to set slice of associative array
#
# That's extremely strange. What do you get in $foo if you use -A instead
# of -H ? Are you sure you aren't loading a stat module that's from a
# different version/build of zsh?
Well, I figured it out. I believe this to be a bug, though you
decide. I always set ksharrays since I like 0 based indexing and use
ksh for scripting at work. With ksharrays unset, it works.
=== gabor $ unsetopt ksharrays
=== gabor $ stat -H foo .
=== gabor $ print ${(kv)foo[@]}
blksize 8192 nlink 52 size 3072 rdev 533784 mode 16841 mtime 935797473
inode 127121 blocks 6 device 196614 atime 935797353 uid 1000 link
ctime 935797473 gid 1000
=== gabor $ setopt ksharrays
=== gabor $ stat -H foo .
zsh: attempt to set slice of associative array
zsh: exit 1
=== gabor $
Messages sorted by:
Reverse Date,
Date,
Thread,
Author