[Tutor] parsing sendmail logs

nibudh nibudh at gmail.com
Fri Jul 18 06:59:42 CEST 2008

2008/7/16 Jeff Younker <jeff at drinktomi.com>:

> Parsers as referenced in your link are intended for heavy-duty lifting
> such as parsing programming languages.
> Sendmail logs are very simple, so those parsers are vast overkill.   Split
> on whitespace combined with regular expressions should be up to the job.
> -jeff

Thanks for the clarification, I was looking at these parsers thinking they
were overkill.

split and regex for version of my script looks like the order of the
day :-)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20080718/9fcd76db/attachment.htm>

More information about the Tutor mailing list