Computer Science
General Computer Science articles :)
Friday, February 6, 2009
Removing duplicate lines from a file using awk
awk '!($0 in a) {a[$0];print}' infile > outfile
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment