On 4/6/06, Mart Somermaa <[EMAIL PROTECTED]> wrote: > I've attached a patch that adds support for human-readable bytesize > comparison to 'sort', i.e. numbers suffixed with K for kilo-, M for > mega- and G for gigabytes are sorted correctly, if option '-B' is > given in command-line arguments:
I like the idea, but I object to using up yet another single-letter option for this (they're not renewable - the ASCII character set has a fixed size). I suggest that we use a long option only. Secondly, "du" supports both --human-readable and --si. I suggest that we do something more or less consistent. Thirdly, how could you sort a file where field 1 is to be compared lexically, the second numerically without suffixes and the third to be compared with human-readable size extensions? James. _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils