Re: [squid-users] Access log file

From: Alberto Brealey G. <beto@dont-contact.us>
Date: Tue, 26 Jun 2001 08:09:15 -0600

On Tue, Jun 26, 2001 at 01:47:36AM -0700, Rash Dar wrote:
> When I run the command I got the following error
> messages :
>
> : root@abc /tmp ; perl -wlne
> `s/^(\d+)\.\d+/localtime($1)/e;print` ./squid-log-1
> bash: syntax error near unexpected token `s/^(\d+)'
> bash: command substitution: line 1:
> `s/^(\d+)\.\d+/localtime($1)/e;print'
> syntax error at -e line 1, near "."
> Search pattern not terminated at -e line 1.

it seems like you are using backquotes "`", when you should be using single
quotes "'".

-- 
Alberto Brealey
beto@inalambrica.net
Received on Tue Jun 26 2001 - 08:09:19 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:51 MST