Incode Systems Home Page Incode Systems, Inc.


Unique



(Windows 95 or higher command line utility)

- Copyright (C) 1989-2012, Incode Systems, Inc.
version 1.2.0 http://www.incodesystems.com mailto:sales1[options] [InputFile [OutputFile]]

Unique reads lines from sorted InputFile and writes only those lines
which are not duplicated to OutputFile.
If InputFile is not given, Standard Input is used.
If OutputFile is not given, Standard Output is used.
OutputFile may be the same file as InputFile.
InputFile and OutputFile lines are delimited with ASCII 13,10.
If InputFile is out of sequence, warning is written to Standard Error
and ERRORLEVEL is set to 2.

Options:
-C = Return count (only) of lines found. ERRORLEVEL 1 if > 0.
-I = Ignore upper/lower case distinctions
-N = Return line numbers
(note: options above may be combined, ex: -cin)
-+n = Starting position (column) of KEY (ex: /+25)
-Ln = Length of KEY (ex: /L5)