Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Sorting file names randomly
- X-seq: zsh-users 12220
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxxxxx>
- Subject: Re: Sorting file names randomly
- Date: Mon, 19 Nov 2007 01:08:23 -0800
- In-reply-to: <071119005718.ZM4162@xxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050723194240.GA32416@DervishD> <20050723212657.GA744@DervishD> <1050724064415.ZM20425@xxxxxxxxxxxxxxxxxxxxxxx> <20071119042136.GA11967@xxxxxxxxxxx> <071119005718.ZM4162@xxxxxxxxxxxxxxxxxxxxxx>
On Nov 19, 12:57am, Bart Schaefer wrote:
}
} } Is there any chance that prepending "$i." and hashing it will
} } decrease the randomness of the shuffle significantly?
}
} I no longer remember why I didn't just use h[$RANDOM]
Oh, duh ... it's to assure that the keys are unique. That's what I get
for trying to answer email last thing before I go to bed.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author