From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6D0C9C433DB for ; Thu, 21 Jan 2021 09:38:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1A6DA2395A for ; Thu, 21 Jan 2021 09:38:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728895AbhAUJh7 (ORCPT ); Thu, 21 Jan 2021 04:37:59 -0500 Received: from smtprelay0217.hostedemail.com ([216.40.44.217]:52920 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728883AbhAUJhj (ORCPT ); Thu, 21 Jan 2021 04:37:39 -0500 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay06.hostedemail.com (Postfix) with ESMTP id 5AC60182251B2; Thu, 21 Jan 2021 09:36:53 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: wind30_170fe2727562 X-Filterd-Recvd-Size: 2571 Received: from [192.168.1.159] (unknown [47.151.137.21]) (Authenticated sender: joe@perches.com) by omf14.hostedemail.com (Postfix) with ESMTPA; Thu, 21 Jan 2021 09:36:51 +0000 (UTC) Message-ID: <6223e06f2a45b8772f04d97d840fe7da960a8037.camel@perches.com> Subject: Re: [PATCH] scripts/spelling.txt: increase error-prone spell checking From: Joe Perches To: Naoki Hayama , Luca Ceresoli , Chunyou Tang Cc: Randy Dunlap , akpm@linux-foundation.org, colin.king@canonical.com, xndchn@gmail.com, j.neuschaefer@gmx.net, ebiggers@google.com, sjpark@amazon.de, linux-kernel@vger.kernel.org, zhangwen@yulong.com, tangchunyou@yulong.com Date: Thu, 21 Jan 2021 01:36:50 -0800 In-Reply-To: References: <20210121020731.2316-1-tangchunyou@163.com> <47008cd9-2b87-f5b2-5fad-e8f009869dda@infradead.org> <1a3ab487bfb0365991355147fadbf51df14a4772.camel@perches.com> <20210121112115.00005cb6@163.com> <7937a406-812e-0a41-12c5-41576737a44f@lucaceresoli.net> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.38.1-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2021-01-21 at 18:14 +0900, Naoki Hayama wrote: > On 2021/01/21 17:41, Luca Ceresoli wrote: > > On 21/01/21 04:21, Chunyou Tang wrote: > > > On Wed, 20 Jan 2021 19:09:05 -0800 Joe Perches wrote: > > > > On Wed, 2021-01-20 at 19:02 -0800, Randy Dunlap wrote: > > > > > On 1/20/21 6:07 PM, ChunyouTang wrote: > > > > > > From: tangchunyou [] > > > > > > diff --git a/scripts/spelling.txt b/scripts/spelling.txt > > > > [] > > > > > > @@ -875,6 +875,7 @@ manger||manager > > > > > >  manoeuvering||maneuvering > > > > > >  manufaucturing||manufacturing > > > > > >  mappping||mapping > > > > > > +maping||mapping > > > > > >  matchs||matches > > > > > >  mathimatical||mathematical > > > > > >  mathimatic||mathematic [] > Rules in scripts/spelling.txt are sorted > alphabetically by leftside words. It would > be better that you insert "maping||mapping" > rule between: > > "manufaucturing||manufacturing" > and > "mappping||mapping" . That's not really true. Try a diff of $ sort < scripts/spelling.txt The general rule of thumb, and it's only a rule of thumb and it is not strictly enforced, is that similar misspellings are grouped together.