uniq - Wikipedia, the free encyclopedia
uniq is a Unix utility which, when fed a text file, outputs the file with adjacent identical lines collapsed to one. First appearing in Version 3 Unix, [1] it is a kind of filter program. Typically it is used after sort. It can also output only the duplic...