On Fri, Oct 8, 2010 at 10:05 AM, Eric Blake <[email protected]> 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   [email protected]    +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