uniq: useful linux command-line utility
uniq, from the man page: “report or omit repeated lines”
Which is just what I needed today. To remove duplicate lines from a file in vi, it’s just :%!uniq. Or you could do it from the terminal, but working in vi is more fun.
No comments yet