coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Coreutils-gotchas


From: Pádraig Brady
Subject: Re: Coreutils-gotchas
Date: Mon, 30 Nov 2015 22:27:43 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 30/11/15 19:30, Assaf Gordon wrote:
> 
>> On Nov 30, 2015, at 13:27, Pádraig Brady <address@hidden> wrote:
>> BTW this list has gone viral...
> 
>> https://www.reddit.com/r/programming/comments/3uogjv/gnu_coreutils_gotchas/
> 
> Glossing over the reddit discussion, there's a thread about "sort -R"
> not being always perfect randomness,
> pointing to this Debian bugreport/discussion:
>  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641166
> 
> 
> Perhaps that could be added as another gothca?

Done.

BTW, the man page description is a bit terse/implementation specific.
How about we change:

-R, --random-sort
              sort by random hash of keys

to:

-R, --random-sort
              randomize input, but also group matching keys


cheers,
Pádraig



reply via email to

[Prev in Thread] Current Thread [Next in Thread]