parsing options

Simon Huggins huggie at earth.li
Thu May 15 17:48:54 CEST 2003


Hi bogofilter,

On Thu, May 15, 2003 at 11:44:11AM -0400, Greg Louis wrote:
> On 20030515 (Thu) at 1128:28 -0400, Clint Adams wrote:
> > > -Pu, -PU upper_case
> > > For the switches, a lower case letter enables the option (turns it
> > > on) and an upper case letter disables it (turns it off).
> > > 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 (or not folding) indicate that doing
> > > changing upper case to lower case is really, really bad.
> > Enabling "upper_case" makes it case-insensitive?  Seems much more
> > confusing than -Pf and -PF to me.
> Yep.  That "upper_case" terminology is a serious misnomer; the
> distinction is not between upper and lower, but between case-sensitive
> and case-insensitive.  I thought folding was a much more descriptive
> term.

So why not have case_sensitive and -Pc/-PC for enable/disable.  It makes
more sense to a layman that way anyway.

Or is c taken already?



Simon.

-- 
        Black Cat Networks        -(  truth in search engines#4: do you  )-
UK domain, email and web hosting  -(    mean "kill my coworkerS"? --     )-
http://www.blackcatnetworks.co.uk -(         http://www.ntk.net/         )-




More information about the Bogofilter mailing list