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 Feb 2 21:06:47 2004  
Votes:  200  
 
Category: NonePriority: 3 - Low
Status: DonePrivacy: Public
Assigned to: NoneOriginator Email: -unavailable-
Open/Closed: Closed

Sun Nov 22 18:38:06 2009, comment #4:

This was done in 7.5. Latest is 8.1

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

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

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

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

Jim Meyering <meyering>
Project Administrator
Sun Nov 5 21:24:45 2006, 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 Feb 2 21:06:47 2004, 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 Nov 22 18:38:06 2009meyeringOpen/ClosedOpen=>Closed
    Fri Aug 21 11:19:08 2009meyeringStatusIn Progress=>Done
    Mon Aug 17 20:50:11 2009meyeringStatusNone=>In Progress
    Fri Apr 18 06:10:01 2008amosshapiraCarbon-Copy-=>Added amosshapira
    Sun Nov 5 21:20:49 2006howkeyCarbon-Copy-=>Added howkey
    Mon Feb 2 21:06:47 2004NoneAttached File-=>Added sort-h.patch, #2645

    Back to the top


    Powered by Savane 3.1-cleanup