From owner-freebsd-current@FreeBSD.ORG Tue Apr 19 12:22:12 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 BCE1C106566C for ; Tue, 19 Apr 2011 12:22:12 +0000 (UTC) (envelope-from uqs@spoerlein.net) Received: from acme.spoerlein.net (acme.spoerlein.net [IPv6:2a01:4f8:131:23c2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 5502D8FC18 for ; Tue, 19 Apr 2011 12:22:12 +0000 (UTC) Received: from localhost (acme.spoerlein.net [IPv6:2a01:4f8:131:23c2::1]) by acme.spoerlein.net (8.14.4/8.14.4) with ESMTP id p3JCMAVb038009 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 19 Apr 2011 14:22:10 +0200 (CEST) (envelope-from uqs@spoerlein.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=spoerlein.net; s=dkim200908; t=1303215730; bh=mtprsyMes8xRZB1QM2i1TiAu0oR7Lg0+tN4+E4Y8IZ0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=M5YWYAhTTkfWQThw+6uy98ZO918kz6hvEfiYxmAJGaZR2HavpqF0jTwwZC6Ul5pyG m7SgXUxnFZqyOenahX6sH+s9cdP88XwCnplmF27bMN9kZC8qOM5Hrzil9pOX6LJGez saGgn8CcIPKCX8VBt7B2yBSQCSO8XuWvZ6wus4c8= Date: Tue, 19 Apr 2011 14:22:10 +0200 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Bruce Cran Message-ID: <20110419122210.GL85668@acme.spoerlein.net> Mail-Followup-To: Bruce Cran , freebsd-current@freebsd.org 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.5.21 (2010-09-15) 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:22:12 -0000 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