Date: Tue, 19 Apr 2011 14:22:10 +0200 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= <uqs@spoerlein.net> To: Bruce Cran <bruce@cran.org.uk> Cc: freebsd-current@freebsd.org Subject: Re: Finding typos using codespell Message-ID: <20110419122210.GL85668@acme.spoerlein.net> In-Reply-To: <20110419111500.GA16509@muon.cran.org.uk> References: <20110419111500.GA16509@muon.cran.org.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110419122210.GL85668>