Re: [PATCH] kernel source spellchecker

Matthias Schniedermeyer
2003-03-02T08:03:30Z

[-- Attachment #1: Type: text/plain, Size: 1314 bytes --]

On Sun, Mar 02, 2003 at 09:09:10AM +0100, Matthias Schniedermeyer wrote:
> On Sat, Mar 01, 2003 at 07:02:00PM -0800, Dan Kegel wrote:
> > My corrections file is up at http://www.kegel.com/spell-fix-dan1.txt
> > and the patch that produces is
> > http://www.kegel.com/linux-2.5.63-bk5-spell.patch.bz2.bin
> > The perl script took about an hour of 450MHz cpu time.
> > (Might be worth adding a quick path to detect and skip
> > files with none of the misspelled words. Or just run
> > on a fast machine...)
>
> OK. Next Take.
>
> Changes this time:
> - A bug-fix for "--dir" (Would have checked all files)
> - Added a "fast-path" but this doesn't seem to make a difference
>
> New options:
> - "--[no]fix" to fix (default) or only look for errors.
> (This ignores the '[no]comment'-option and looks for all errors!)
> - "--[no]override" to override(default) the original file or create a
> "<filename>.fixed"-file
>
>
> Anyone wants a "--[no]ask"-option?

Earlier or later the "missing-attachment"-thing must happen to anyone.
:-)

Bis denn

--
Real Programmers consider "what you see is what you get" to be just as
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated,
cryptic, powerful, unforgiving, dangerous.

[-- Attachment #2: spell-fix.pl --]
[-- Type: application/x-perl, Size: 5915 bytes --]