I have hundreds of lines in a file with the same ending.
My workout (same result):
$ cat x.txt | sort -u $ cat x.txt | sort -u | uniq -u $ cat x.txt |