<quote who="Colin Humphreys">

> name,email,company,title
> 
> I want to do a case insensitive match on "email" and remove duplicates.


Untested:

  uniq -iu --skip-fields=1 --separator=, --check-fields=1 SPAM-LIST

All in long option form, apart from case insensitive (-i) and print only
unique (-u).

man uniq -> it rocks. :)

- Jeff


-- [EMAIL PROTECTED] ------------------------------- http://linux.conf.au/ --

       o/~ In spite of all those keystrokes, you're addicted to vim.        
                              *ka-ching!* o/~                               


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to