[lkml]   [2003]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] kernel source spellchecker
jw schultz <jw () pegasys ! ws> wrote:

> An ispell filter seems a simpler approach to me. (ispell -F
> filter) I use that (shown here to head off requests) for
> email so quoted content is ignored. A similar filter for C
> source would make this trivial.
> $ grep ispell .muttrc
> set ispell="ispell -F maildequote"
> $ cat bin/maildequote
> #!/usr/bin/perl
> while (<STDIN>)
> {
> /^[>|] / || /^On .* wrote:$/ and tr[A-Za-z][_];
> print $_;
> }
> print "\004";

Integrating in to existing spellcheckers is a Good Idea,
though it might not totally replace the perl script Matthias
wrote (does ispell have a batch mode that works on whole
directory trees?).

BTW, ispell on my system is gnu aspell,
and I couldn't tell for the life of me from the manual
whether it supports this kind of filter.
Nor could I find any doc on ispell filters.
Where's the best place to learn about 'em?
- Dan

Dan Kegel

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.126 / U:2.944 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site