Juhapekka Tolvanen wrote:
> Package: coreutils
> Version: 8.1-1
> Severity: wishlist
> 
> I wanted to do this: Give sizes of each files and directories located
> in $PWD in human-readable-format AND sort output according to sizes of
> those files and directories. Formerly I did it like this:
> 
> du -s * | sort -n | awk '{print $2}' | xargs du -sh

Sorting on human sizes appeared in 7.5.  Try this:

  du -sh *  | sort -k 1h,1

Bob



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to