[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d2a0cf345c7e049ffd76acd315e6b377d94a344c.camel@sipsolutions.net>
Date: Thu, 11 Apr 2024 17:37:41 +0200
From: Johannes Berg <johannes@...solutions.net>
To: Thorsten Blum <thorsten.blum@...lux.com>, kernel-janitors@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, linux-trace-kernel@...r.kernel.org,
linux-doc@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-s390@...r.kernel.org, speakup@...ux-speakup.org,
intel-gfx@...ts.freedesktop.org, intel-xe@...ts.freedesktop.org,
dri-devel@...ts.freedesktop.org, linux-wireless@...r.kernel.org,
linux-scsi@...r.kernel.org, linux-afs@...ts.infradead.org,
ecryptfs@...r.kernel.org, netfs@...ts.linux.dev,
linux-fsdevel@...r.kernel.org, linux-unionfs@...r.kernel.org,
linux-arch@...r.kernel.org, io-uring@...r.kernel.org, cocci@...ia.fr,
linux-perf-users@...r.kernel.org
Subject: Re: [PATCH] treewide: Fix common grammar mistake "the the"
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
Powered by blists - more mailing lists