in reply to Re: removing non-duplicatesin thread removing non-duplicates
sort -u [download]
One world, one people
[me@host tmp]$ cat /tmp/t A B A C [me@host tmp]$ sort -u /tmp/t A B C [me@host tmp]$ sort /tmp/t | uniq -u B C [download]