|
From: | Matthew Woehlke |
Subject: | Re: du feature request |
Date: | Mon, 06 Nov 2006 10:40:49 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.4.0 |
Logan Hansen wrote:
'sort'ing by name isn't a big deal. 'sort'ing by size, however doesn't work well do to du's rounding of sizes: du -m and compare a file that's 1k vs 900k. Further, du -h is quite nice, however, 'sort' can't do *anything* with the results. Rather than having to write a program to parse du -k's output, sort it, and then make it 'human readable', this would work *much* better as a builtin option.
Maybe take a look at <http://savannah.gnu.org/patch/?2565>? I'm currently petitioning to get this, or an equivalent patch, added to sort.
-- MatthewIf this message is intercepted, the sender will disavow all knowledge of its existence.
[Prev in Thread] | Current Thread | [Next in Thread] |