Re: lug-bg: tail -f | grep ... | cut ... | awk ...
- Subject: Re: lug-bg: tail -f | grep ... | cut ... | awk ...
- From: danchev@xxxxxxxxx (George Danchev)
- Date: Thu, 31 Jan 2002 17:36:32 +0200
On Thursday 31 January 2002 16:48, you wrote:
> On Thu, 31 Jan 2002 16:16:52 +0200
>
> George Danchev wrote:
> > tail -f /var/log/messages | ./borj.pl
> > ./borj.pl: line 5: syntax error near unexpected token
> > `($col1,$col2,$col3,$col4,$col5,$rest)'
> > ./borj.pl: line 5: `my ($col1,$col2,$col3,$col4,$col5,$rest);'
> >
> > --
> > Greets,
> > fr33zb1
>
> Hm, pri mene si bachka OK, ja njakoj PERL guru da se proiznese. Da, NetBSD
> e :)
> Samo dava warning ot wida:
>
> Name "main::col1" used only once: possible typo at ./prelude.pl line 7.
>
> attachvam leko butnat variant (kozmetika) no tuk naistina raboti ...
>
> borj@borj borj$perl -v
>
> This is perl, v5.6.0 built for i386-netbsd
This is perl, v5.6.1 built for i386-linux
10x sega e OK, dobra igra4ka :)
dori nqma warningi... samo path-a promenih :)
za zainteresovanite:
http://elemag.virtualave.net/files/prelude
ide re4 za /var/log/messages ... stoto s negovata struktura e syobrazeno.
--
Greets,
fr33zb1
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|