http://qs321.pair.com?node_id=746399


in reply to Re: du -h, sorted
in thread du -h, sorted

Are you sure yours gets correct results? I'm getting 372K between 4.4M and 3.6M.
perl -e 'sub c{pop=~/[GMK]/;ord($&)&7}print sort{c($b)<=>c($a)or$b<=>$ +a}`du -h`'

Caution: Contents may have been coded under pressure.