invariant terse mode [was: exit codes in docs]
David Relson
relson at osagesoftware.com
Mon Aug 4 19:44:24 CEST 2003
Matthias,
Having "-T" implemented as:
spamicity_tags=Spam,Ham,Unsure
terse_format=%1.1c %g
would be fine by me.
At 12:08 PM 8/4/03, Matthias Andree wrote:
>On Mon, 04 Aug 2003, David Relson wrote:
>
> > Also, bogotune uses flags "-tt" which set the terse_format to
> > "%0.16f". This allows it to distinguish spam scores near to 0 or 1, for
> > example 0.0000000012345678 from 0.0000000087654321 (both of which print as
> > 0.000000 using the default format).
>
>Well, %g fixes that, but I don't care which is used.
>
> > My suggestion is to use "-T" for invariant terse mode using "S/H/U" for
> the
> > letter. Here are some output examples:
> >
> > S 0.954321
> > H 0.002468
> > U 0.499999
>
>Sounds fine. We must tell the user that if the first letter isn't
>recognized (after a bogofilter update), he's got to defer mail delivery
>and fix his script after reading through the new documentation, so we
>can extend without taking our users at a suprise.
When such changes happen, they are items for the RELEASE.NOTES file, are
they not?
David
P.S. I've just updated format.c (to accept %g) and RELEASE.NOTES-0.14 (to
mention exit codes).
More information about the Bogofilter
mailing list