Delete Duplicate Lines
DELDUPL 1.0 · 2006-02-22 · Command Script |
DELDUPL.CMD deletes duplicate lines in a sorted text file.
Call syntax:
DELDUPL.CMD | file |
file: | Name of the file in which duplicate lines are to be deleted. |
The result will be written to a new file where "_NODUPL" has been appended to the file name.
Example of call:
DELDUPL.CMD C:\DATA\VALUES.TXT
Duplicate lines in the file C:\DATA\VALUES.TXT are deleted and the result is written to a new file called C:\DATA\VALUES_NODUPL.TXT
NOTE: The script may fail if lines in the text file contain the character " (double quote).
This page was last updated 2006-12-11 20:32 CET