UNIQUE is a Windows 32-bit console "Filter" application. It reads a text stream from Standard Input and writes to Standard Output a copy where adjacent, duplicate lines have been omitted.
License: Use of UNIQUE is free to end users, but I retain the copyright. This program is shared "as-is" without warranty, promise of support, or liability for consequences of its use. Bug reports are requested, and enhancement requests are invited.
Command-line invocation is according to the syntax:
If either the input file or output file designations are omitted, UNIQUE reads its input from the keyboard or writes it to the display, respectively.UNIQUE <infile.txt >outfile.txt
In its alternate form, each output line is prefixed by a parenthesized number indicating how many consecutive copies of that that line appeared in the input:
UNIQUE /count <infile.txt >outfile.txt
| April 12, 2007 | First release |