Re: [PATCH] Documentation: Fix most typos

From: Joe Perches
Date: Fri Jun 19 2020 - 15:37:19 EST


On Fri, 2020-06-19 at 13:20 -0600, Jonathan Corbet wrote:
> On Wed, 10 Jun 2020 16:07:32 -0700
> Joe Perches <joe@xxxxxxxxxxx> 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@xxxxxxxxxxx>
>
> 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