From: Johannes Berg <johannes@sipsolutions.net>
To: Thorsten Blum <thorsten.blum@toblux.com>,
kernel-janitors@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org,
linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-s390@vger.kernel.org, speakup@linux-speakup.org,
intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org,
dri-devel@lists.freedesktop.org, linux-wireless@vger.kernel.org,
linux-scsi@vger.kernel.org, linux-afs@lists.infradead.org,
ecryptfs@vger.kernel.org, netfs@lists.linux.dev,
linux-fsdevel@vger.kernel.org, linux-unionfs@vger.kernel.org,
linux-arch@vger.kernel.org, io-uring@vger.kernel.org,
cocci@inria.fr, linux-perf-users@vger.kernel.org
Subject: Re: [PATCH] treewide: Fix common grammar mistake "the the"
Date: Thu, 11 Apr 2024 17:37:41 +0200 [thread overview]
Message-ID: <d2a0cf345c7e049ffd76acd315e6b377d94a344c.camel@sipsolutions.net> (raw)
In-Reply-To: <20240411150437.496153-4-thorsten.blum@toblux.com>
On Thu, 2024-04-11 at 17:04 +0200, Thorsten Blum wrote:
> Use `find . -type f -exec sed -i 's/\<the the\>/the/g' {} +` to find all
> occurrences of "the the" and replace them with a single "the".
I estimated that this misses at least ~50 instances split across lines:
$ git grep -ih -A1 -e 'the$'|grep -vi 'the$'|grep -E -- '^[^a-zA-Z0-9]*the '|wc -l
51
And a bunch that have more than one space:
$ git grep -E '\<the\s\s+the\>'|wc -l
20
So not sure you should claim "all" ;-)
johannes
next prev parent reply other threads:[~2024-04-11 15:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-11 15:04 [PATCH] treewide: Fix common grammar mistake "the the" Thorsten Blum
2024-04-11 15:13 ` Randy Dunlap
2024-04-11 15:25 ` Dan Carpenter
2024-04-11 22:39 ` Thorsten Blum
2024-04-12 6:41 ` Jani Nikula
2024-04-11 15:37 ` Johannes Berg [this message]
2024-04-11 16:29 ` Tyler Hicks
2024-04-11 16:45 ` Robin Murphy
2024-04-11 17:11 ` [PATCH v2] " Thorsten Blum
2024-04-11 20:23 ` Christophe JAILLET
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d2a0cf345c7e049ffd76acd315e6b377d94a344c.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=cocci@inria.fr \
--cc=dri-devel@lists.freedesktop.org \
--cc=ecryptfs@vger.kernel.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=io-uring@vger.kernel.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-afs@lists.infradead.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=linux-unionfs@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=netfs@lists.linux.dev \
--cc=speakup@linux-speakup.org \
--cc=thorsten.blum@toblux.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).