runiq
Runiq functions in a manner quite similar to GNU uniq, but runiq allows you to specify keys based on regular expressions in stead of field or the first N characters. Runiq takes most of the options that uniq does but omits the character and field related arguments —check-chars, —skip-fields, and —skip-chars since the same funtionality can be achieved using Perl regular expressions.