Re: [PATCH] kernel source spellchecker

Horst von Brand
2003-03-02T03:40:25Z

Dan Kegel <dank@kegel.com> said:

[...]

> Smashing! However, it should probably avoid correcting spellings
> in anything but C comments.

Right.

> Perhaps my C comment parser should be converted to perl and
> incorporated into spell-fix.pl, and used to divide the source
> file into two streams (comment and noncomment); the comment
> stream would be spell-fixed and merged back with the noncomment
> stream to create the output.

I wouldn't go that far. Better give a list of speling mistakes (file/line)
and fix them by hand. It won't need to be done more than occasionally, so
the overhead is not too bad.
--
Dr. Horst H. von Brand User #22616 counter.li.org
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513