Re: Finding typos using codespell

From: Ulrich Spörlein <uqs_at_spoerlein.net>
Date: Tue, 19 Apr 2011 14:22:10 +0200
On Tue, 19.04.2011 at 12:15:00 +0100, Bruce Cran wrote:
> There's a new tool that can be used to find spelling mistakes in code: codespell 
> from http://www.politreco.com has already been used to find mistakes in both 
> Linux and LLVM. I ran it on sys/ and it found lots of potential typos - the 
> full diff (which I know does contain some incorrect changes) can be found at 
> http://www.cran.org.uk/~brucec/freebsd/codespell_sys.diff .

Needs manual review, but I think this is very useful for the spelling
nazi challenged among us :-)

False positive, e.g.:
 {
-       struct ccb_immed_notify *inot;
+       struct ccb_immed_notify *into;
        mpt_tgt_state_t *tgt;

Cheers,
Uli
Received on Tue Apr 19 2011 - 10:22:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:13 UTC