[Gllug] sort & uniq

Daniel Andersson daniel at septum.org
Mon Aug 4 22:00:31 UTC 2003


hiya

sort file | uniq -c

file contains numbers, from 1 to 255

and the idea is to get a list of how many of each number there are

one would assume that i'd never receive lines with the same number, right?

but i do..


 122662 225
      1 225

linux, textutils 2.0

ideas?

/ d

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




More information about the GLLUG mailing list