Unix/Linux Go Back    



finding duplicates in columns and removing lines

Shell Programming and Scripting




Kindly Note - This is a Single User Post by Forum Member aigles Regarding:
finding duplicates in columns and removing lines.
Please Follow The Primary Link Above to View the Full Discussion.

   
Old Unix and Linux 04-24-2008   -   Original Discussion by totus
aigles's Unix or Linux Image
aigles aigles is offline Forum Advisor  
Registered User
 
Join Date: Apr 2004
Last Activity: 1 December 2014, 9:03 AM EST
Location: Bordeaux, France
Posts: 1,711
Thanks: 2
Thanked 62 Times in 58 Posts

Code:
awk -F, '! mail[$3]++' inputfile

Jean-Pierre.