I have a text file that contains a long list of entries (one on each line). Some of these are duplicates, and I would like to know if it is possible (and if so, how) to remove
I would use !}uniq, but that only works if there are no blank lines.
!}uniq
For every line in a file use: :1,$!uniq.
:1,$!uniq