6.0;dldupl (delete_duplicate_lines), revision 6.0, 83/04/21
DLDUPL (DELETE_DUPLICATE_LINES) -- Strip repeated lines from a file.
usage: DLDUPL [-C] [pathname ...]
FORMAT
DLDUPL [-C] [pathname ...]
DLDUPL reads the input file(s), comparing adjacent lines. Second and
succeeding copies of repeated lines are removed; the remaining lines are
written to standard output.
ARGUMENTS
pathname
(optional) Specify input file. Multiple file names permitted;
separate names with blanks.
Default if omitted: read standard input
OPTIONS
-C Write number of occurrences of each line to standard
output.
EXAMPLES
Suppose you have two dictionary files. To create one dictionary file
containing the words from both, use:
$ srf -m dict1 dict2 | dldupl >dict.new
This merges the words from the two files (SRF -M), then deletes any duplicate
words and saves the result in the new dictionary.