--- "Yacketta, Ronald" <[EMAIL PROTECTED]> wrote:
> I am running the following (Thanxs to Paul for his skeleton code)
> exec ( 'egrep'. "-c", $lookFor, @{$LOGS[($_ -1)]} )

You're quite welcome, but why exec egrep?

Ah, I may have misled you with that code.
You probably don't need the exec at all.

Just fork a child and have *that child process* handle the grep()'ing.
Perl is certainly as good at regexes as egrep. =o)
It can parse the file however you like, and redirect it's output any
way you please.




__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Reply via email to