bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"sort" utility short comming or bug: cannot sort according to "human for


From: Andre Gompel
Subject: "sort" utility short comming or bug: cannot sort according to "human format" criterion.
Date: Sun, 1 Jan 2006 17:05:01 -0800
User-agent: KMail/1.8.2

Dear colleague:
  it looks like a bug... or at least a short comming.

If I use the -n or -g option I cannot sort according to the output format of 
the "du" or "ls" commands.

Example:

        du -chs * |sort -n |more

I am not sure what would be the best approach, but I would tend to add one 
more option (says -h for "human format" compatibility).

Of course the -g option may probably be adapted to "understand" the "human 
format, but this could be problematic, in some rare instances.

This should be quite simple, and I may volunter to program that part, if you 
thinks this make sense.

Thanks for the attention.







-- 

Andre Gompel 
Po Box 263
San Jose, Ca 95106-0755

address@hidden
address@hidden  (Backup: Checked once a week)

(+1)  831-458 5237
---




reply via email to

[Prev in Thread] Current Thread [Next in Thread]