Re: [PATCH] kernel source spellchecker

Horst von Brand (vonbrand@inf.utfsm.cl)
Sun, 02 Mar 2003 00:16:23 -0300


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
-
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/