The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 01-17-2008
pp56825 pp56825 is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 32
Quote:
Originally Posted by orahi001 View Post
Before my post I found on an older post

awk ' !x[$0]++' Infile > outFile


but it was giving syntax errors when exectued.

Then I changed awk to nawk and it worked.



thanks

try to use nawk or /usr/xpg4/bin/awk