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 authentication level.

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

Submitter:  None
Submitted:  Mon 02 Feb 2004 09:06:47 PM UTC
Votes:  200  
 
Category:  None Priority:  3 - Low
Status:  Done Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

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

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #6835:  sort-h.patch added by None (7KiB - 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
  • -email is unavailable- added by meyering (Posted a comment)
  • -email is unavailable- added by amosshapira (Voted in favor of this item)
  •  

    There are 200 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-11-22 meyering Open/ClosedOpen Closed
    2009-08-21 meyering StatusIn Progress Done
    2009-08-17 meyering StatusNone In Progress
    2008-04-18 amosshapira Carbon-Copy- Added amosshapira
    2006-11-05 howkey Carbon-Copy- Added howkey
    2004-02-02 None Attached File- Added sort-h.patch, #2645

    Back to the top


    Powered by Savane 3.9