bug-coreutils
[Top][All Lists]
Advanced

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

Re: Human readable sort


From: Jim Meyering
Subject: Re: Human readable sort
Date: Wed, 27 May 2009 08:53:03 +0200

Pádraig Brady wrote:
> Latest version attached.
...
> * NEWS: Document the new option
> * doc/coreutils.texi (sort invocation): ditto
> * src/sort.c (main): handle the new --human-numeric-sort option (-h).
> (human_numcompare): A new function to compare SI and IEC suffixes
> before falling back to the standard --numeric comparison.
> (find_unit_order): A new helper function to find the order
> of magnitude of a number string as determined by its suffix.
> (check_mixed_SI_IEC): A new helper function to exit with error
> if both SI and IEC suffixes are presented.

Looks fine.
Thank you, Pádraig and Michael.




reply via email to

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