I am hunting around for something I presumed existed, but haven’t been able to find. A console utility for finding duplicate lines that are non-exact matches and scoring the matches. There are a ton of algorithms for this – but I couldn’t find a pre-baked utility.
Do I have to write it?
Example:
more += Found .* abyssal rune of Zot
more += .* abyssal rune of Zot
These two lines are mostly similar, with a Levenshtein Distance of 6 – I would like to show possible dups / same meaning by shorted levenshtein distances (or something better, been years since I dug into this stuff).
Does nothing already do this?!