bogoutil -p and -w

David Relson relson at osagesoftware.com
Mon Apr 7 02:02:10 CEST 2003


Matthias,

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?

David
  





More information about the bogofilter-dev mailing list