Shell: How To Remove Duplicate Text Lines
This command would have been more logical if it had an ‘-a’ option to print all the lines in a file with the duplicates ‘squashed’ into a single line. Sorry Richard. The below “only print unique lines”, will omitt lines that have duplicates. uniq -u The b...