[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5804: sort --human
From: |
Michal Svoboda |
Subject: |
bug#5804: sort --human |
Date: |
Wed, 31 Mar 2010 18:28:07 +0200 |
User-agent: |
Mutt/1.4.2.3i |
Drake Wyrm wrote 796 bytes:
> Michal Svoboda <address@hidden> wrote:
> > Bob Proulx wrote 704 bytes:
> > > ** New features
> > > sort accepts a new option, --human-numeric-sort (-h): sort numbers
> > > while honoring human readable suffixes like KiB and MB etc.
> >
> > Interesting. So does it sort correctly 1 MB < 1000 KiB < 1 MiB ?
>
> $ { echo 1MB; echo 1000KiB; echo 1MiB; } | sort -h
> sort: both SI and IEC prefixes present on units
>
> That would be a no to the "sort" part, but perhaps a yes to the
> "correctly" part.
Ah, this is obviously some strange use of the word *correctly* that
I wasn't previously aware of.
Michal Svoboda