Re: new coreutil? shuffle - randomize file contents
From:
James Youngman
Subject:
Re: new coreutil? shuffle - randomize file contents
Date:
Wed, 25 May 2005 10:58:41 +0100
User-agent:
Mutt/1.3.28i
On Tue, May 24, 2005 at 09:55:35AM -0700, Paul Eggert wrote:
> That way, you could use, e.g.:
>
> sort -k 2,2 -k R
>
> which would mean "sort by the 2nd field, but if there are ties then
> sort the ties randomly". "sort -R" would be short for "sort -k R".
Perhaps this approach avoids the problems that were discussed earlier
regarding expectations about lines with identical keys "shuffling"
together.
James.