From owner-freebsd-current@FreeBSD.ORG Tue Apr 19 11:15: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 29B9C1065672 for ; Tue, 19 Apr 2011 11:15:01 +0000 (UTC) (envelope-from brucec@muon.cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id E81FE8FC13 for ; Tue, 19 Apr 2011 11:15:00 +0000 (UTC) Received: by muon.cran.org.uk (Postfix, from userid 1001) id 494D9E61CB; Tue, 19 Apr 2011 12:15:00 +0100 (BST) Date: Tue, 19 Apr 2011 12:15:00 +0100 From: Bruce Cran To: freebsd-current@freebsd.org Message-ID: <20110419111500.GA16509@muon.cran.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Subject: 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 11:15:01 -0000 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 . -- Bruce Cran