Re: [PATCH] kernel source spellchecker

Matthias Schniedermeyer (ms@citd.de)
Sun, 2 Mar 2003 09:09:10 +0100


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?

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.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/