Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

notepad++ check for duplicate lines complex

Tags:

notepad++

Example

40000+lines with guids like this:

GUID: 0981723409871243

Search across all GUID's for duplicates

Example:

GUID: 124432408213
GUID: 08917234071423
GUID: 0189742381
GUID: 08917234071423
GUID: 0817423423
GUID: 124432408213

I have TextFX and Compare but how would I find this part there is 2 124432408213 and 2 08917234071423

out of 40,000 lines with possible duplicates I cant easily detect them I need a way to find duplicates.

It would be to be something like GUID: "Search text after guid" next line then continue search for each GUID...I could write a custom program that can do this but...trying to avoid having to do this TextFX is pretty powerful just don't see a way to do something like this...

I should add a little more info here example:

[block1] guid: ???? more info: ??? [/block1]

this is how each block is formatted..

like image 561
user2455808 Avatar asked Jun 05 '13 13:06

user2455808


1 Answers

Although my answer can't help you by now... Copy your lines into 2 news tabs, then use TextFX to duplicate sort tab 1 and unique sort tab 2. Then move tab 2 to other view, finally use Compare.

like image 188
becon999 Avatar answered Oct 04 '22 03:10

becon999