[cvs] bogofilter/src/tests t.frame,1.25,1.26
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: <m-...@us...> - 2003-11-19 15:51:04
|
Update of /cvsroot/bogofilter/bogofilter/src/tests In directory sc8-pr-cvs1:/tmp/cvs-serv23820/src/tests Modified Files: t.frame Log Message: Make DB_EXT extraction work on FreeBSD. Index: t.frame =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/src/tests/t.frame,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- t.frame 19 Nov 2003 14:32:27 -0000 1.25 +++ t.frame 19 Nov 2003 15:51:01 -0000 1.26 @@ -19,7 +19,7 @@ export _POSIX2_VERSION # Obtain data base file suffix -DB_EXT=`${relpath}/bogofilter -V 2>&1 | sed -n 's/^.*bogofilter\-\(.*dbm\?\) .*/\1/p'` +DB_EXT=`${relpath}/bogofilter -V 2>&1 | sed -n '1 {s/^.*bogofilter-\(.*dbm\) .*/\1/;p;}'` [ -z "$DB_EXT" ] && DB_EXT="db" export DB_EXT |