Eric Blake wrote:
According to Logan Hansen on 10/19/2006 12:10 PM:
I would like to request a feature to be added to the 'du' command:
a command line switch to sort output by directory name or by size of
directory
Why? What can we add to du that can't already be done by pipelining du
output into sort?
Well, did you look at how complicated doing this otherwise is? It isn't
*terrible*, but it isn't a matter of just 'du <options> | sort', either.
(Although, alternatively, maybe it *should* be, i.e. sort should be able
to sort "human-readable file sizes".)
Why does 'ls' have options to sort the output? What does having sorting
options in 'ls' achieve that can't already be done by pipelining ls
output into sort? ;-)
--
Matthew
When on POSIX, do as POSIX mandates.
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils