/usr/share/doc/spambayes/contrib/bulktrain.sh is in spambayes 1.1a6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | #!/bin/bash
cd $HOME/spambayes/active/spambayes
rm -f tmpdb 2>/dev/null
time /usr/bin/python2.2 bulkgraph.py \
-d tmpdb \
-e $HOME/Mail/everything/ \
-s $HOME/Mail/spam \
-s $HOME/Mail/newspam \
&& mv -f tmpdb hammiedb
ls -l hammiedb
|