parsing options
W M Brelsford
k2di2 at att.net
Thu May 15 19:17:20 CEST 2003
On Thu May 15 2003 at 04:48 PM +0100, Simon Huggins wrote:
> 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, to add to the choices, -Pi/-PI for ignore_case (as used by
grep, etc.).
--
Bill Brelsford
k2di2 at att.net
More information about the Bogofilter
mailing list