[lkml]   [2003]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] kernel source spellchecker

> Matthias Schniedermeyer wrote:
> > I've no spelling knowledge, so the list of spellcorrections must be made
> > by someone else. But i can volunteer the perl-snippet to correct the
> > files. :-)
> Smashing! However, it should probably avoid correcting spellings
> in anything but C comments.

Here we go.

Take 1.10

This versions defaults to only correct words within a comment.

> Perhaps my C comment parser should be converted to perl and

No need to make any hasled.

// Comments are easy(tm). "Everything after // until line-end".

and /* ... */ are easy(tm) too because gcc doesn't support to nest them.

Only a handfull of lines were needed to handle this. :-)

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.

[unhandled content-type:application/x-perl]
 \ /
  Last update: 2005-03-22 13:33    [W:0.078 / U:4.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site