bogoutil -p and -w
matthias.andree at gmx.de
Mon Apr 7 08:01:05 EDT 2003
David Relson <relson at osagesoftware.com> writes:
> As you know most of bogoutil's options are a single letter followed by a
> file or directory name. Examples of these are '-d' (dump), '-l' (load),
> '-m' (maintenance mode), and '-w' word stats. Dump and load take a
> filename and use stdin/stdout. For maintenance mode, additional flags
> are needed to tell bogoutil what to keep/discard.
> And then there's the different one, '-w' which is used to display word
> counts and has optional modifier '-p'. When used togeether, bogoutil
> displays the word's message counts and spam scores, i.e. probabilities,
> for the graham and robinson algorithms. I'm thinking that '-p' should
> be upgraded from a modifier of '-w' to a command of its own - on a level
> with '-d', '-l', '-m', and '-w'. Rather than require '-p' to be used
> with '-w
> directory', the usage would be '-p directory'. This would make it
> easier to use and more consistent.
> What do you think of this idea?
Go for it, and remember to upgrade doc/bogoutil.xml ;-)
More information about the Bogofilter-dev