From owner-freebsd-current@FreeBSD.ORG Tue Apr 19 12:40:01 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DB48106564A for ; Tue, 19 Apr 2011 12:40:01 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.59.238]) by mx1.freebsd.org (Postfix) with ESMTP id 22F288FC15 for ; Tue, 19 Apr 2011 12:40:01 +0000 (UTC) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id 859667300A; Tue, 19 Apr 2011 14:39:17 +0200 (CEST) Date: Tue, 19 Apr 2011 14:39:17 +0200 From: Luigi Rizzo To: Bruce Cran Message-ID: <20110419123917.GB35646@onelab2.iet.unipi.it> References: <20110419111500.GA16509@muon.cran.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110419111500.GA16509@muon.cran.org.uk> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org Subject: Re: Finding typos using codespell X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Apr 2011 12:40:01 -0000 On Tue, Apr 19, 2011 at 12:15:00PM +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 . interesting :) it finds typos in comments, i guess, not code bugs ? cheers luigi