Notepad++ remove duplicate lines and sort
Have you read?
Notepad++ remove duplicate lines
You have a given list, and want to remove duplicates, quickly and easily ?
One of the possible solutions, free and effective, is to use Notepad++ [1], a free text editor, but, on top of it, it is light, and offers lot of interesting functionalities.
You will also have to install TextFX plugin. To do so, go on SourceForge [2], and download the latest plugin version (Fig 10). You then just have to extract downloaded archive in your Notepad++ installation folder (Fig 11).
Once Notepad++ is launched, you can have a file containing duplicates (Fig 1).
In order to delete them, in a first time, verify that the option “+Sort outputs only UNIQUE (at column) lines” (Fig 2) is set, and then select your data (Fig 3).
You now got two choices:
delete duplicates in case insensitive mode (Fig 4), as result you will get lines containing same letters as other lines deleted (Fig 5),
delete duplicates in case sensitive mode (Fig 6), as result you will get lines identical to other ones deleted (Fig 7).
You can then, with the two newly created list, after having them copied in different files, compare them (Fig 8), with, as result, the display in first file of lines that do not exist in the second one, and, in the second one, the display of lines that do not exist in the first file (Fig 9).
Notepad++ sort unique
To sort unique lines in Notepad++, simply install the TextFX plugin, select the text in which you only want to keep unique lines and to sort them, and select the option TextFX > TextFX tools > Sort lines case sensitive (at columns).
Make sure the sort output only unique (at columns) option is checked to keep only unique records and have a full Notepad++ sort remove duplicates operation.
Notepad++ remove duplicate lines and sort - video
Read more
- Use Notepad++ to Create a Clean Transcript with Text only
- Notepad++Guide
- Tux - The Linux Penguin Official Open Source Mascot
- 2018 Lenovo ThinkPad E580 Business Laptop - 15.6' Anti-Glare (1366x768), Intel Core i5-7200U, 500GB HDD, 4GB DDR4, Wi-Fi + BlueTooth, Webcam, FingerPrint Reader, Windows 10 Professional - Black
- Microsoft Surface Pro (Intel Core M, 4GB RAM, 128GB) – Newest Version
- Samsung SM-N950UZVAXAA Galaxy Note8 (US Version) Factory Unlocked Phone - 6.3' Screen - 64GB - Orchid Gray (U.S. Warranty)
- Scratch Programming Playground: Learn to Program by Making Cool Games
- Logitech M510 Wireless Computer Mouse
- AmazonBasics Classic Notebook - Ruled
- [1] – Notepad++, complete text editor
- [2] – Notepad++ TextFX plugin on SourceForge
- TextFX plugin
Similar articles
Comments (12)
Great, that is exactly what I was looking for, now I’m ready
Merci c'était utile
Uimitor, acum este rândul meu să încerc!
Não posso acreditar que finalmente encontrei a solução, isso foi um pesadelo por um longo tempo, agora resolvido
素晴らしい情報、共有のおかげで
Das hat gut für mich funktioniert, ich brauche nicht weiter zu suchen
हैलो, मैंने आपका लेख देखा और इससे मुझे मेरी समस्या हल करने में मदद मिली, बहुत बहुत धन्यवाद
مرحبًا ، لقد رأيت مقالك وساعدني في حل مشكلتي ، شكرًا جزيلاً
Dobrý den, viděl jsem váš článek a pomohl mi vyřešit problém, díky moc
Täpselt, mida ma otsisin, täiuslik
Vos images sont en 404
Merci pour votre retour, le problème devrait à présent être résolu