lkml.org 
[lkml]   [2020]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Documentation: Fix most typos
From
Date
On Fri, 2020-06-19 at 13:20 -0600, Jonathan Corbet wrote:
> On Wed, 10 Jun 2020 16:07:32 -0700
> Joe Perches <joe@perches.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@perches.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

\
 
 \ /
  Last update: 2020-06-19 21:38    [W:0.054 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site