Bayesian Tail
flok writes "We all know anti-spam-software using Bayesian filtering. The results with these are amazingly good. So that made me thinking: why not create a tool which monitors logfiles and determines using a Bayesian filter what events to display and what not? That's why I created btail. Btail is just that: it monitors a logfile and filters it with a Bayesian filter. The results are above my own expectations!"
To Wit:
C'mon, man... really, WTF? How would the user know from the "error" message that the program will use a default config file (and with what name)?That aside, your code would be easier to read (slashcode's broken formatting nonwithstanding) if you used a switch construct.
Yeah, right.