[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <369b8060416ad9507ba1cd1160e20bc2f0ea7e5d.camel@perches.com>
Date: Fri, 19 Jun 2020 12:37:13 -0700
From: Joe Perches <joe@...ches.com>
To: Jonathan Corbet <corbet@....net>,
Stephen Rothwell <sfr@...b.auug.org.au>
Cc: linux-doc <linux-doc@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Documentation: Fix most typos
On Fri, 2020-06-19 at 13:20 -0600, Jonathan Corbet wrote:
> On Wed, 10 Jun 2020 16:07:32 -0700
> Joe Perches <joe@...ches.com> wrote:
>
> > These are the typos found in scripts/spelling.txt for
> > most of the Documentation/ tree.
> >
> > Scripted with:
> >
> > $ cat scripts/spelling.txt | \
> > grep -v -P "^\s*\#" | \
> > while read line ; do \
> > from=$(echo $line | cut -f1 -d'|'); \
> > to=$(echo $line | cut -f3 -d'|'); \
> > echo "from: $from to: $to" ; \
> > git grep -w --name-only $from | \
> > xargs sed -i "s/\b$from\b/$to/" ; \
> > git checkout scripts/spelling.txt ; \
> > done
> >
> > And some removal of inappropriate conversions
> > in Documentation/translations and a few files
> > where the conversions were incorrect.
> >
> > Signed-off-by: Joe Perches <joe@...ches.com>
>
> So this fails badly against current docs-next...any chance of a redo?
This patch still works against current -next.
Maybe your tree should be added to -next so
people don't have to search out specific trees.
git git://git.lwn.net/linux.git docs-next
Powered by blists - more mailing lists