exit codes in docs [was: Correction to integrating-with-postfix]
Greg Louis
glouis at dynamicro.on.ca
Sat Aug 2 16:52:37 CEST 2003
On 20030802 (Sat) at 1024:30 -0400, Clint Adams wrote:
> > How about adding another switch to bogofilter that makes it return an
> > exit code that's equal to its spamicity value? IE a 1.00 count would
> > return a 100, a non-spam of 0.04 would return a 4.
>
> It boggles my mind that people are using exit codes at all for what is
> clearly program output.
>
One objective of bogofilter is to scale well. Parsing ASCII output
takes a good bit more time than checking return codes.
--
| G r e g L o u i s | gpg public key: 0x400B1AA86D9E3E64 |
| http://www.bgl.nu/~glouis | (on my website or any keyserver) |
| http://wecanstopspam.org in signatures helps fight junk email. |
More information about the Bogofilter
mailing list