GNU bug report logs - #5804
sort --human

Previous Next

Package: coreutils;

Reported by: Phil Dumont <phil <at> solidstatescientific.com>

Date: Tue, 30 Mar 2010 16:13:02 UTC

Severity: wishlist

Done: Bob Proulx <bob <at> proulx.com>

Bug is archived. No further changes may be made.

Full log


Message #34 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michal Svoboda <pht <at> spatium.org>
To: bug-coreutils <at> gnu.org
Subject: Re: bug#5804: sort --human
Date: Thu, 1 Apr 2010 19:32:18 +0200
Jim Meyering wrote 1206 bytes:
> ;-)
> Perhaps he meant that it works as documented:
> 
>   `-h'
>   `--human-numeric-sort'
>   `--sort=human-numeric'
>        Sort numerically, as per the `--numeric-sort' option below, and in
>        addition handle IEC or SI suffixes like MiB, MB etc (*note Block
>        size::).  Note a mixture of IEC and SI suffixes is not supported
>        and will be flagged as an error.  Also the numbers must be
>        abbreviated uniformly.  I.E. values with different precisions like
>        6000K and 5M will be sorted incorrectly.

I see, I wasn't aware of the "Note". In that case, it is suitably
described as "this will sort whatever the other coreutils give you when
you use -h".

Michal Svoboda 





This bug report was last modified 15 years and 51 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.