On Wed, 2004-08-11 at 10:51, Damian Menscher wrote:
> On Wed, 11 Aug 2004, Silly Billy wrote:
>
> > while executing this command to configure Clamav ...
> >
> > perl -pi -e "s/^LocalSocket /tmp/clamd/LocalSocket
> > /var/run/clamav/clamd/g" /etc/clamav.conf
> >
> > an error appear as mentioned bel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Silly Billy wrote:
> while executing this command to configure Clamav ...
>
>
> perl -pi -e "s/^LocalSocket /tmp/clamd/LocalSocket
> /var/run/clamav/clamd/g" /etc/clamav.conf
>
You're using slashes as your s/// delimeter and also as your directory
On Wed, 2004-08-11 at 10:06, Silly Billy wrote:
> while executing this command to configure Clamav ...
>
>
> perl -pi -e "s/^LocalSocket /tmp/clamd/LocalSocket
> /var/run/clamav/clamd/g" /etc/clamav.conf
Use a different expression separator. E.g.:
perl -pi -e "s:^LocalSocket /tmp/clamd:LocalSo
On Wed, 11 Aug 2004, Silly Billy wrote:
> while executing this command to configure Clamav ...
>
> perl -pi -e "s/^LocalSocket /tmp/clamd/LocalSocket
> /var/run/clamav/clamd/g" /etc/clamav.conf
>
> an error appear as mentioned below ...
>
> [EMAIL PROTECTED] test]# perl -pi -e "s/^LocalSocket
> /t
Silly Billy wanted us to know:
>[EMAIL PROTECTED] test]# perl -pi -e "s/^LocalSocket /tmp/clamd/LocalSocket
>/var/run/clamav/clamd/g" /etc/clamav.conf
>Bareword found where operator expected at -e line 1,
>near "s/^LocalSocket /tmp/c
>lamd"
>syntax error at -e line 1, near "s/^LocalSocket
>/tmp/c