The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 01-31-2008
Yogesh Sawant's Avatar
Yogesh Sawant Yogesh Sawant is offline
Part Time Moderator and Full Time Dad
 

Join Date: Sep 2006
Location: Rossem, Tazenda
Posts: 767
try this:
Code:
awk '{ if (! third_col[$3]) print $0;  third_col[$3]++; }' file
Reply With Quote