Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp281642imn; Mon, 25 Jul 2022 16:28:03 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vGPZCCF5h4NsFxASN4SV9LYIyeKcSgOxCQtN9+1cwSUY1BsnYjQJeguuyTrJx+6mLSyLkv X-Received: by 2002:a17:90a:69e1:b0:1f2:2c0a:c30f with SMTP id s88-20020a17090a69e100b001f22c0ac30fmr27330926pjj.8.1658791683155; Mon, 25 Jul 2022 16:28:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658791683; cv=none; d=google.com; s=arc-20160816; b=wir8f3SQQTPoeQYzcTzJnfA+hdn+TuhLUPFBAbzU0gEg9wx/JAtxkRB3R3QWLdZ2hV lGwsOQd5uHCtaecopcPvWAILyVkAPcVK9Vdu1ZrloXdT2rnJ027IZNqUCkfAJJ3cdQRH pPq6maN2HbsMygLd0ELYRfeKGrULW/f/jReb+aJCojvWdkosHmgNgqEL8EdGnf+gLuH4 kand70UcXh6xnwIt4rHwbjP+Q4LbGbkUuz3/hy8UM2uV+YIT3+U/vrH0cDBF64n5Akpv RTrysVP08KAeobqBwLANmWcDZPMrTJaFOFoEhoyQayxRpodaQfGWS7U4gB9r7WDllP7A OUIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=0zQI+WZQ6sY4Sf2L/wqHsYcUTLFVksPTNVu2RBAEQJc=; b=bNelM9OCxKYMsoSgCB7lFRB+Wb9p6HrJfMpv0ltKd2SorFq1DMkqRolbAFTdMerza4 kSpfnp8jPzDdm5ZVo09c/NAEBjZ6h2FROfg0n/Xryyu2gDrhgvIcQ+ffni9sq40if5dS 2NsYoNkXW19cggAK4tBIo5gX6BI8BaL2qrbHVGPM7ctbRyVfzaY4RBKr8ntUGnFajQaT fzSXemGAxilQsKu8Jbe0x63JyeQIYz5ubO5P3RB/3J1CxoWD1/2dlJMnzXlbAM+cJY3K UwXGm02ihZQ3n8cpZJ842wYUTn/oSFLvlfzKLD5fvPz8KeYj9sCdkOcMrTr2K/Ygkgr2 ShCg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i4-20020a654d04000000b0040cf53f9b98si14142071pgt.226.2022.07.25.16.27.47; Mon, 25 Jul 2022 16:28:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231693AbiGYXSh convert rfc822-to-8bit (ORCPT + 99 others); Mon, 25 Jul 2022 19:18:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229801AbiGYXSf (ORCPT ); Mon, 25 Jul 2022 19:18:35 -0400 X-Greylist: delayed 330 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 25 Jul 2022 16:18:34 PDT Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 629BA2613E; Mon, 25 Jul 2022 16:18:34 -0700 (PDT) Received: from omf17.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id C2E71C071E; Mon, 25 Jul 2022 23:13:00 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf17.hostedemail.com (Postfix) with ESMTPA id 697EA1E; Mon, 25 Jul 2022 23:12:52 +0000 (UTC) Message-ID: Subject: Re: [PATCH v2] docs: Fix typo in comment From: Joe Perches To: William Breathitt Gray Cc: Baoquan He , Randy Dunlap , Jonathan Corbet , Slark Xiao , kafai , vgoyal , dyoung , ast , daniel , andrii , "martin.lau" , song , yhs , "john.fastabend" , kpsingh , sdf , haoluo , jolsa , dhowells , peterz , mingo , will , longman , "boqun.feng" , tglx , bigeasy , kexec , linux-doc , linux-kernel , bpf , linux-cachefs Date: Mon, 25 Jul 2022 16:12:51 -0700 In-Reply-To: References: <20220721015605.20651-1-slark_xiao@163.com> <20220721154110.fqp7n6f7ij22vayp@kafai-mbp.dhcp.thefacebook.com> <21cac0ea.18f.182218041f7.Coremail.slark_xiao@163.com> <874jzamhxe.fsf@meer.lwn.net> <6ca59494-cc64-d85c-98e8-e9bef2a04c15@infradead.org> <5bd85a7241e6ccac7fe5647cb9cf7ef22b228943.camel@perches.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.44.1-0ubuntu1 MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_NONE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Stat-Signature: scxpfj6ognbxy16i47zhaoc7nn8mhr7p X-Rspamd-Server: rspamout04 X-Rspamd-Queue-Id: 697EA1E X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX18oibnQ1mEZciO6tvJNDDYSZCjv6uxPeLM= X-HE-Tag: 1658790772-439912 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2022-07-25 at 09:57 -0400, William Breathitt Gray wrote: > On Mon, Jul 25, 2022 at 06:52:15AM -0700, Joe Perches wrote: > > On Fri, 2022-07-22 at 07:45 +0800, Baoquan He wrote: > > > The fix is done with below command: > > > sed -i "s/the the /the /g" `git grep -l "the the " Documentation` > > > > This command misses entries at EOL: > > > > Documentation/trace/histogram.rst: Here's an example where we use a compound key composed of the the > > > > Perhaps a better conversion would be 's/\bthe the\b/the/g' > > It would be good to check for instances that cross newlines as well; > i.e. "the" at the end of a line followed by "the" at the start of the > next line. However, this would require some thought to properly account > for comment blocks ("*") and other similar prefixes that should be > ignored. checkpatch already attempts that duplicated word across a newline test.