bogominitrain.pl 1.3 problem in 0.14.05

David Relson relson at osagesoftware.com
Sun Aug 17 14:12:06 CEST 2003


At 03:42 AM 8/17/03, Henning Truslew Gulliksen wrote:
>----- Original Message -----
>From: "David Relson" <relson at osagesoftware.com>
>
>
> > At 04:31 PM 8/16/03, Henning Truslew Gulliksen wrote:
> > >When trying bogominitrain.pl I got an error from bash that says directory
> > >don't exists. I think the problem is the first line.
> > >
> > >#!/usr/bin/perl
> > >
> > >When I cange this to
> > >
> > >#! /usr/bin/perl  (The space after #!)
> > >
> > >things work. The problem wasn't there for 0.14.4. I am now using
> > >bogofilter-static-0.14.5-1.i586.rpm.
> > >
> >
> > What operating system and shell are you running?  The usual shells don't
> > require spaces in the shebang line...  Do you also have trouble with the
> > other scripts distributed with bogofilter?
> >
> > David
>
>I am running: Linux 2.4.19C7_V with GNU bash, version 2.04.21(1)-release
>(i386-redhat-Linux-gnu) on an Cobalt RaQ 550 from Sun. I am not sure how
>much Sun have changed from an ordinary Red Hat Linux.
>
>Only script I have tried is the randomtrain and the bogominitrain.pl.
>randomtrain worked well.
>
>Regards
>Henning Truslew Gulliksen

Henning,

'Tis puzzling, as I've not previously seen a space needed in the first line....

randomtrain _does_ have the space you need.  I've added a space to 
bogominitrain.pl as well.  You'll see it in the next release.

Peace,

David





More information about the Bogofilter mailing list