Friday, November 9, 2012

awk: removing lines with duplicate beginnings from a file

awk -F, '!_[$1]++' inputFile > outputFile

No comments:

Post a Comment