If I grep a file containing the following:
These are wordsThese are wordsThese are wordsThese are words
...for the word These
, it will print the string These are words
four times.
How can I prevent grep from printing recurring strings more than once? Otherwise, how can I manipulate the output of grep to remove duplicate lines?