From: Anthony English <[EMAIL PROTECTED]>
> I would like to search for a series of patterns, e.g. "error" "failed"
> etc in a set of log files and display the matching lines from the log
> files along with the log file name.

I don't know how do your log files look, but it might be good to look 
not only for explicit errors, but also for any incomplete or 
unexpected messages.
See http://www.perlmonks.org/index.pl?node_id=200361
and http://www.perlmonks.org/index.pl?node_id=201070

If you choose to do something like this I can send you the current 
version of the "state machine" engline if you like.

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


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

Reply via email to