[Gllug] sort & uniq

Daniel Andersson daniel at septum.org
Tue Aug 5 10:38:21 UTC 2003


> Dear Daniel,
> 
> You probably want the following.
> 
>     sort -n file | uniq -c | sort -n
> 
> The first sort is numeric and you may wish to choose a
> delimiter.  The uniq command counts occurrences.  The second
> sort ranks the numbers according to their frequency.

tried that
same result, two instances of 225 in the result :o/

the file i'm 'playing' with is
http://daniel.septum.org/testfile.txt

i can't find anything odd with any of the 225's..

thanks for the help

/ d

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list