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 #10 received at 5804-done <at> debbugs.gnu.org (full text, mbox):

From: Bob Proulx <bob <at> proulx.com>
To: Phil Dumont <phil <at> solidstatescientific.com>
Cc: 5804-done <at> debbugs.gnu.org
Subject: Re: bug#5804: sort --human
Date: Tue, 30 Mar 2010 11:04:06 -0600
Phil Dumont wrote:
> It sure would be nice if the sort command had a --human option:
>   du -s --human * | sort --human

Ask and you shall receive.  Seek and ye shall find!  (Or in this case
if you had searched you would have found it. :-)

Sort has had that option since coreutils release 7.5.  Here is the
release announcement.

  http://lists.gnu.org/archive/html/bug-coreutils/2009-08/msg00201.html

    * Noteworthy changes in release 7.5 (2009-08-20) [stable]
    ** New features
      sort accepts a new option, --human-numeric-sort (-h): sort numbers
      while honoring human readable suffixes like KiB and MB etc.

Meanwhile, coreutils release 8.4 (2010-01-13) is current and stable.

Bob




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

Previous Next


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