uniq

Usage: uniq [INPUT [OUTPUT]]

Discard all but one of successive identical lines from INPUT (or stdin), writing to OUTPUT (or stdout).

Options:

		-c		prefix lines by the number of occurrences
		-d		only print duplicate lines
		-u		only print unique lines
		

Example:

			$ echo -e "a\na\nb\nc\nc\na" | sort | uniq
			a
			b
			c