Hi all,
I think it's easy (i hope) but I don't understand how can I do it.

How I can configure sec to do this kind of job:

#!/usr/bin/perl

my $counter=0;
while (<>) {
chomp;
if ($_ eq "foo"){$counter=$counter+1;}
if ($_ eq "bar"){$counter=$counter-1;}
if ($counter >= 3) {print "send e-mail \n";}
}


Tnx a lot

Pedro
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Simple-evcorr-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to