Skip to content

Wordlist / text uniquifier which ignores trailing whitespace and cr/lf mismaches.

License

Notifications You must be signed in to change notification settings

batchmcnulty/killdupes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

killdupes

Uniquifier which ignores trailing whitespace and cr/lf mismaches.

One of the most frustrating problems with dealing with large quantities of text data, such as wordlists and Nmap reports, is how hard it is to get rid of duplicate lines. The "uniq" command doesn't really work at all, and while "sort" is pretty good, there's always a trailing whitespace, usually just a " " but sometimes a rogue tab or a Windows-style CR/LF or something daft like that which stops you from actually eliminating every duplicate line.

killdupes

just kills duplicate lines. Dead. It chops off the CR and CR/LFs at the end and destroys trailing whitespace. Then it searches for duplicate lines and destroys them. THen prints a text file full of guaranteed unique lines of text. Simple!

About

Wordlist / text uniquifier which ignores trailing whitespace and cr/lf mismaches.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published