Re: new coreutil? shuffle - randomize file contents
From:
Frederik Eaton
Subject:
Re: new coreutil? shuffle - randomize file contents
Date:
Mon, 6 Jun 2005 01:24:28 -0700
User-agent:
Mutt/1.5.9i
Here is a preliminary patch for basic shuffling functionality in
'sort', with same-keys-sort-together behavior. It adds two options:
"-R" to compare based on a hash of key, and "--seed" to specify salt
for the hash. If "--seed" is not given then the default is to read
from /dev/random or /dev/urandom.
I still need to add support to configure.ac for some of the random
device macros.
Feedback?
Frederik
--
http://ofb.net/~frederik/