[NTLUG:Discuss] sed awk question

Bobby Wrenn bjwrenn at augustmail.com
Mon Aug 12 10:15:57 CDT 2002


My reading led me to believe that awk was best for working with fields rather 
than whole lines.

My question last week made me think perl was better than either and more 
versatile than either.

So, here is my question this week. I need to sort a comma delimited file and 
return only those line where the first field is unique. Currently I am 
pulling the file into Access and elimating duplicates there. There has to be 
a better way.

TIA
Bobby




More information about the Discuss mailing list