cvs - fisher

Matthias Andree matthias.andree at gmx.de
Mon Feb 17 13:02:56 CET 2003


David Relson <relson at osagesoftware.com> writes:

> After you next update from cvs and build bogofilter, run command
> "bogofilter -C -qv" to display bogofilter's configuration parameters.
> ("-qv" runs bogofilter's query_config function.)  As this is a debugging
> aid, most parameters are displayed (though not all).

Here's some bash + X11 magic to display a comparison between default
(left) and current configuration (right hand side):

# X11 magic:
eval `resize`
# bash magic:
diff -y -W$COLUMNS <(bogofilter -C -qv 2>&1) <(bogofilter -qv 2>&1)

If you want to see just the differences, add --suppress-common-lines to
the diff line.

Replace $COLUMNS by the width of your terminal (80) if you don't have
resize.

-- 
Matthias Andree




More information about the Bogofilter mailing list