Find Duplicates
From TED Notepad
You see work in progress here; this section already reflects future TED Notepad version 6.0.0.14.
This section may contain incomplete, premature, or mistaken information, prone to change without notice.
This section may contain incomplete, premature, or mistaken information, prone to change without notice.
Find duplicates.. (Alt+Ctrl+X)
Searches the selection for duplicate lines
. Works the same way as the Unique.. tool does, but allows more options and choices, affecting behavior and results of the tool:
- All lines - Removes all duplicate
lines
, keeping exactly one instance of each original line. The order of resultinglines
remains unchanged and from each two equal lines, the second one is removed. This is identical to the behavior of the Unique.. tool. - Only unique lines - Removes all
lines
that have duplicates, leaving only thoselines
that were already unique. The order of resultinglines
remains unchanged. - Only duplicated lines - Removes all
lines
that do not have duplicates, leaving only thoselines
that do have duplicates. The resultinglines
are uniqued in the process, thus each resultingline
appears only once in the results. The order of resultinglines
remains unchanged.
This section is incomplete and wants to be finished later. |
TODO: Not specified. |
wood
a woodchuck chuck |
The Count duplicates option adds to the result the actual numbers of equal lines. Each resulting line will contain a number of its duplicates, written in brackets before the line.
(1) how much
(2) wood (1) would (2) a woodchuck (2) chuck (1) if (1) could |
Additionally, Ignore case option may be specified to ignore case
when matching duplicates. Leave empty lines option may be specified to spare empty lines
from being uniqued to prevent joining of separate paragraphs
.