patchGNU Core Utilities - Patches: patch #2565, added option to sort: sort human...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

patch #2565: added option to sort: sort human readable file sizes

Submitted by:  None
Submitted on:  Mon 02 Feb 2004 09:06:47 PM UTC  
Votes:  200  
 
Category: NonePriority: 3 - Low
Status: DonePrivacy: Public
Assigned to: NoneOriginator Email: -unavailable-
Open/Closed: Closed

Sun 22 Nov 2009 06:38:06 PM UTC, comment #4:

This was done in 7.5. Latest is 8.1

Jim Meyering <meyering>
Project Administrator
Fri 21 Aug 2009 11:19:08 AM UTC, comment #3:

this feature is now in the latest release, coreutils-7.5

Jim Meyering <meyering>
Project Administrator
Mon 17 Aug 2009 08:50:11 PM UTC, comment #2:

--human-numeric-sort has been added in upstream git,
for the imminent coreutils-7.5 release

Jim Meyering <meyering>
Project Administrator
Sun 05 Nov 2006 09:24:45 PM UTC, comment #1:

This is a really useful feature IMHO. Actually, I made a similar patch myself and was just checking whether it had already been done. As it is just a small change and no collisions with other options seem to exist, I would really like to see this included in a standard release.

I am using my patched version of sort quite often with this option.

HB <howkey>
Mon 02 Feb 2004 09:06:47 PM UTC, original submission:

Patch for sort against gnu coreutils-5.0 to sort human readable file sizes as used by `df -h' and `du -h' (e.g. 12K, 3.4M, 87G). The option -h or --human-numeric-sort is added and documented. The implementation could use some work which I'm willing to do, if you're interested.

e.g.:

du -h /usr | sort -h | tail -n 4

338M /usr/lib/openoffice
1.1G /usr/lib
1.1G /usr/share
3.0G /usr

Anonymous

 

Attached Files
file #6835:  sort-h.patch added by None (7kB - application/octet-stream - Patch against gnu coreutils-5.0 added option to sort: sort human readable file sizes.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by meyering (Posted a comment)
  • -unavailable- added by amosshapira (Voted in favor of this item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 200 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 22 Nov 2009 06:38:06 PM UTCmeyeringOpen/ClosedOpen=>Closed
    Fri 21 Aug 2009 11:19:08 AM UTCmeyeringStatusIn Progress=>Done
    Mon 17 Aug 2009 08:50:11 PM UTCmeyeringStatusNone=>In Progress
    Fri 18 Apr 2008 06:10:01 AM UTCamosshapiraCarbon-Copy-=>Added amosshapira
    Sun 05 Nov 2006 09:20:49 PM UTChowkeyCarbon-Copy-=>Added howkey
    Mon 02 Feb 2004 09:06:47 PM UTCNoneAttached File-=>Added sort-h.patch, #2645

    Back to the top


    Powered by Savane 3.1-cleanup