[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f1033e80969fce39d9cc97fb924f7d68e5f96f74.camel@perches.com>
Date: Mon, 13 Apr 2020 00:15:53 -0700
From: Joe Perches <joe@...ches.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>,
thomas.petazzoni@...tlin.com, davem@...emloft.net
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] net: mvneta: Fix a typo
On Mon, 2020-04-13 at 08:56 +0200, Christophe JAILLET wrote:
> Le 12/04/2020 à 23:35, Joe Perches a écrit :
> > On Sun, 2020-04-12 at 23:20 +0200, Christophe JAILLET wrote:
> > > s/mvmeta/mvneta/
> > nice. how did you find this?
>
> Hi,
>
> This is based on a bash script I've made a while ago (see [1])
> I've slightly updated it, but the idea is still the same. I search
> strings in a file with some variation on the file name (2 inverted
> chars, 1 missing char or 1 modified char).
>
> The output is horrible, and a lot of filtering should be done.
> It is much like noise, with MANY false positives. But I manage to dig
> some interesting stuff out of it.
>
> If interested in the updated script, just ask, but except the concept
> itself, I'm not sure than anything else worth anything and is should be
> rewritten from scratch.
>
> The update includes some tweaks in order to search into Kconfig files
> instead.
>
> CJ
>
> [1]: https://marc.info/?l=kernel-janitors&m=156382201306781&w=4
Nice.
I was wondering if you used levenshtein distance or something else.
https://en.wikipedia.org/wiki/Levenshtein_distance
Powered by blists - more mailing lists