Vetinari's $HOME

NAME

hsort - sort "human readable" numbers

SYNOPSIS

hsort [-r] [-s] [-f FIELD] [-d DELIM] [FILE]

OPTIONS

-f

sort field FIELD instead of field 1 (the first in a line)

-d

use delimiter DELIM instead of white space, perl regexps are accepted, i.e [:;] for splitting fields by colons or semicolons.

-r

reverse sort, i.e. descending order

-s

print sum of all values in FIELD at the end

DESCRIPTION

no description ;-)

EXAMPLES

  # du -sh /home/* | hsort -r | less
  
  $ ls -lah | hsort -f 5

AUTHOR

Hanno Hecker <vetinari@ankh-morp.org>