NoDups - Copyright (C) 1989-2011, Incode Systems, Inc.
version 1.1 http://www.incodesystems.com mailto:sales1Usage: [options] [InputFile [OutputFile]]
NoDups reads lines from InputFile and writes unique lines and
the first line of groups of duplicate lines to OutputFile.
If InputFile is not given, Standard Input is used.
If OutputFile is not given, Standard Output is used.
If InputFile is out of sequence, a 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
-R = Reverse (last line of groups of duplicate lines)
(note: options above may be combined, ex: -cinr)
-+n = Starting position (column) of KEY (ex: /+25)
-Ln = Length of KEY (ex: /L5)