On Thursday, May 30, 2002, at 09:40 , Hernan Marcelo Salvarezza wrote:

> The problem that i have found is that the program  gets into the if
> statment but it does not
> makes any diference(I think..).I put some prints on just to see how far
> the script goes:
>
>
>  if (m/$find/) {
>          print "NONONO!";
>         push(@log_grot , join(" ",)) ;  -->> Missing $1,$2,$3
>         print "CHECKING!";
>  } else {
>        print "YESYESYES!"; print "not Found. $_\n" ;
>     }
[..]


> YESYESYES!not Found. May 10 15:03:39 200.73.182.8 13313:
> %VOIPAAA-5-VOIP_CALL_HISTORY: CallLegType 1, ConnectionId DF125DE2
> 637711D6
>
> YESYESYES!not Found.  BD90A185 393856AE, SetupTime 18:09:15.108 UTC Fri
> May 10 2002, PeerAddress 38#537992826, PeerSubAddress , Disc
>
> YESYESYES!not Found. onnectCause 10  , DisconnectText normal call
> clearing., ConnectTime 18:09:37.978 UTC Fri May 10 2002, Disconnec
>
> YESYESYES!not Found. tTime 18:09:37.978 UTC Fri May 10 2002, CallOrigin
> 1, ChargedUnits 0, InfoType 2, TransmitPackets 0, TransmitBy
>
[..]

this tells us that you are not getting 'full lines' of data,
but 'chunks' of it..... the premise I had been working with
was that it was your email agent, not your input, that was
putting the line wrapping in there - when I proposed:

http://www.wetware.com/drieux/pbl/Sys/Admin/CiscoParser1.txt

what you need is something that can read the data in,
and know if we have found the full chunk of the pattern

ala:

http://www.wetware.com/drieux/pbl/RegEx/paraHablarRegular.txt

if you flatten out your data you will notice a few critical
changes that occur in your test info here.

a) the SetupTime precedes the PeerAddress which precedes the DisconnectTime

hence we needed to reset how we looked through the grot for the
information....

http://www.wetware.com/drieux/pbl/Sys/Admin/ciscoParse2.txt

you might want to work on how you put forward an RFQ/RFP...



ciao
drieux

http://www.wetware.com/drieux/pbl/

--------------

This space left intentionally blank.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to