Ops Monkey
Friday, October 5, 2012
AWK Tip - Remove duplicate lines without sorting file
Remove duplicate lines without having to sort file
awk '!a[$0]++' <file>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment