Why does bogofilter need bash?
Jef Poskanzer
jef at acme.com
Fri May 28 20:21:35 CEST 2004
>These need bash according to the #! line:
>
>contrib/randomtrain
>contrib/scramble
>contrib/trainbogo.sh
My bogofilter distribution doesn't seem to include the third file,
but the other two use shell functions. Classic sh can not handle
those. Current sh versions do handle them.
I also spotted an argument construct in randomtrain - ${1:0-1:1} - that
I'm not sure classic sh would handle.
I didn't try running the scripts with sh.
---
Jef
Jef Poskanzer jef at acme.com http://www.acme.com/jef/
More information about the Bogofilter
mailing list