The uniq utility reads the standard input comparing adjacent lines, and
writes a copy of each unique input line to the standard output. The sec-
ond and succeeding copies of identical adjacent input lines are not writ-
ten. Repeated lines in the input will not be detected if they are not
adjacent, so it may be necessary to sort the files first.
Ezt miért nem mondta eddig nekem senki? :)
mert nem kérdezted :)
writes a copy of each unique input line to the standard output. The sec-
ond and succeeding copies of identical adjacent input lines are not writ-
ten. Repeated lines in the input will not be detected if they are not
adjacent, so it may be necessary to sort the files first.
Nem találod ki honnan idéztem :)
na jó: man uniq
legalábbis bsd-n... kiemelés tőlem.