[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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.
- new coreutil? shuffle - randomize file contents, Davis Houlton, 2005/05/21
- Re: new coreutil? shuffle - randomize file contents, James Youngman, 2005/05/23
- Re: new coreutil? shuffle - randomize file contents, Frederik Eaton, 2005/05/25
- Re: new coreutil? shuffle - randomize file contents, Davis Houlton, 2005/05/24
- Re: new coreutil? shuffle - randomize file contents, Frederik Eaton, 2005/05/30
- Re: new coreutil? shuffle - randomize file contents, Davis Houlton, 2005/05/30
- Re: new coreutil? shuffle - randomize file contents, Frederik Eaton, 2005/05/30
- Re: new coreutil? shuffle - randomize file contents, Davis Houlton, 2005/05/31