×
UNIX.COM Login
Username:
Password:  
Show Password






👤


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 04-24-2008
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.