coreutils
[Top][All Lists]
Advanced

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

Re: [Coreutils] Sort enhancement request: 1 < 1K < 1M < 1G etc.


From: Philip Ganchev
Subject: Re: [Coreutils] Sort enhancement request: 1 < 1K < 1M < 1G etc.
Date: Fri, 8 Oct 2010 12:15:34 -0400

On Fri, Oct 8, 2010 at 10:05 AM, Eric Blake <address@hidden> wrote:
> This feature already exists.  From the 7.5 NEWS:
>
>  sort accepts a new option, --human-numeric-sort (-h): sort numbers
>  while honoring human readable suffixes like KiB and MB etc.
>
> The latest stable version is 8.5, with 8.6 due shortly.  Consider upgrading.
>
> --
> Eric Blake   address@hidden    +1-801-349-2682
> Libvirt virtualization library http://libvirt.org

Thanks and sorry I did not notice it in the news. (I did look through the news.)

I now checked that the latest version (8.5) does work with the output of "du".

On a related note, couldn't all GNU programs (such as "du" and "ls")
be made to print (and read?) numbers and dates formatted according to
the locale setting, including thousands-separators, etc? That would
avoid having a special option for every program.



reply via email to

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