Bug#424746: lintian: please detect duplicate words in the description
Raphael Geissert <atomo64@gmail.com> writes:
> tag 424746 patch
> thanks
>
> On Wednesday 16 May 2007, Justin Pryzby wrote:
>> Package: lintian
>> Version: 1.23.28
>> Severity: wishlist
>>
>> apt-cache dumpavail |grep -wice 'the *the'
>
> Attached is a patch adding such check.
Thanks!
Unless someone objects, I'm inclined to make this info-level instead of a
warning, since there are valid English constructs where this is a false
positive and it's a fairly minor bug.
I think also requiring \s instead of \W on either end of the repeated
words would be safer; that way we wouldn't warn on "foo foo", and the
general rule of thumb I've been applying with description checks is that
if they're quoting it, it's probably intentional.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: