Приветствую всех.


Чем проще почистить txt файл от повторов строк? Вроде hosts — для него есть Hostman и другие, но нужен более универсальный инстпумент.
Например для contentblock-regex.txt от Silent Block ( [k-meleon] рулит, спасибо той ещё, старой Mozilla).


Если есть такое, но с запуском с параметрами из коммандной строки/скриптом/батником — ещё лучше.
Может быть такой функционал есть в популярных всяких блокнотах (Akel, Notepad++)?


Благодарю.

Notepad++
1620472202016-7ab61134-3187-4bce-8e8c-d695e6a87cf5-image.png

Благодарю. Не знал, да ещё и забыл. :blush:
Попутно нашёл такое же в «Notepad3».
:beer:

The easiest way to clean a text file from line repetitions is to use a text editor with the built-in ability to remove duplicate lines. Popular text editors such as AkelPad, Notepad++, and Sublime Text all have this feature. Simply open the text file you wish to clean, select the "Edit" menu, then select the "Remove Duplicate Lines" option. This will quickly and easily remove any duplicate lines from the text file.