You are here: PSPad forum > English discussion forum > identify duplicates

identify duplicates

#1 identify duplicates

Posted by: djehres | Date: 2012-08-08 13:03 | IP: IP Logged

how do I identify duplicates? Not just remove them.
I need to know which numbers are duplicated.

I have a list of numbers like this:

015-2066-000-0P
015-2067-000-0P
015-2499-000-0P
015-2500-000-0P
03-3466

I need to know which are dups not just remove them.

thanks.

Options: Reply | Quote | Up ^


#2 Re: identify duplicates

Posted by: myf | Date: 2012-08-08 13:58 | IP: IP Logged

One quick and dirty way to get a glance of duplicate rows would be to
- make a two copies of your document
- 1.: Edit > sort *without* duplicate removal
- 2.: Edit > sort *with* duplicate removal
- text diff with active tab from (inactive) tab right mouse click context menu.

Options: Reply | Quote | Up ^


#3 Re: identify duplicates

Posted by: pspad | Date: 2012-08-12 10:32 | IP: IP Logged

First step is obsolete, it sort lines only.
Your second step will sort lines first and than remove duplicates in one step.

Options: Reply | Quote | Up ^


#4 Re: identify duplicates

Posted by: myf | Date: 2012-08-21 20:56 | IP: IP Logged

I meant "first" simple sort step for first copy and "second" sort with duplicate removals for second copy, to get differences of the two.

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR