Re: Re: spamprobe-1.1x7 released

"Jem" <[email protected]>
Newsgroups gmane.mail.spam.spamprobe.general
Message-ID <[email protected]>
> > Say I wanted to do this manually ... either for my first Hash DB or
> future ones. > How does one calcuate a decent size for a hash DB given a
> current DB (either a PBL or Hash) ?
> Hmm.  In bash it might be something like this:

this might do it:

TERMS=`spamprobe export | wc -l`
echo "24 * $TERMS / 1048576" | bc

Gives an output in MB




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.