On Thu, Dec 21, 2000 at 09:48:24AM +1100, Colin Humphreys wrote:
> I have a csv list of names and emails in the form below....
> 
> name,email,company,title
> 
> I think it is allready sorted by the email field.
> 
> I want to do a case insensitive match on "email" and remove duplicates.
This will only work as long as you aren't allowed to have some sort of
escaped , in a field but should probably suffice.

awk -F, '{print $2}' | sort | uniq 

-- 
John Ferlito
Senior Engineer - Bulletproof Networks
ph: +61 (0) 410 519 382
http://www.bulletproof.net.au/


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

Reply via email to