[NTLUG:Discuss] sed awk question
Rev. wRy
slot0k at pogox.org
Mon Aug 12 10:23:07 CDT 2002
Bobby Wrenn wrote:
> 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.
cat file | sort | uniq > newfile
won't do it for you?
> TIA
> Bobby
Ry
(*finally* got an answer on the script I asked about months ago - go figure, 1
line in awk did it.)
More information about the Discuss
mailing list