parsing options

David Relson relson at osagesoftware.com
Fri May 16 01:05:33 CEST 2003


At 12:11 PM 5/15/03, Joerg Over wrote:

>Well, there have been a couple of replies already, but I think
>some missed a point: This is contradictory.
>
>Am 11:23 15.05.2003 -0400 David Relson wrote:
>->-Pu, -PU upper_case
>
>->Bogofilter's default options correspond to "-PUHT", i.e.
>upper_case,
>->header_line_markup, and tokenize_html_tags are all disabled.
>"-PUHT" has
>->bogofilter operating the same as always.
>
>so default is upper case disabled, i.e. case folding enabled,
>which is -PU, which is the old way.
>
>->Note 2:  Option '-Pu' makes bogofilter case insensitive, which
>is the way
>->bogofilter has operated since day 1.  With "-Pu", words "test",
>"Test", and
>->"TEST" are all converted to "test".  All the recent tests of
>case folding
>
>Now -Pu is the old way, which was case folding too.

I messed up in the description.  "-Pu" enables capital letters which is 
another way of saying it turns on case sensitivity.  Note 2 should have 
said "Option '-PU' ...".

>Now I don't know how to disable case folding, i.e. how to allow
>upper case.
>I believe there's a mixup. I believe it should say:
>
>Bogofilter's default options correspond to "-PuHT", i.e.
>upper_case,
>...
>or stay
>Bogofilter's default options correspond to "-PUHT, i.e.
>upper_case,
>
>and rewrite Note 2 to state the opposite.
>
>Then maybe clouds clear up.
>
>Regards, jo
>
>---------------------------------------------------------------------
>FAQ: http://bogofilter.sourceforge.net/bogofilter-faq.html
>To unsubscribe, e-mail: bogofilter-unsubscribe at aotto.com
>For summary digest subscription: bogofilter-digest-subscribe at aotto.com
>For more commands, e-mail: bogofilter-help at aotto.com





More information about the Bogofilter mailing list