[Logcheck-devel] Bug#443171: Bug#443171: rules to ignore acpid messages

Justin Pryzby jpryzby+d at quoininc.com
Fri Sep 21 15:04:01 UTC 2007


On Fri, Sep 21, 2007 at 04:42:47PM +0200, Hanspeter Kunz wrote:
> On Fri, 2007-09-21 at 15:36 +0100, martin f krafft wrote:
> > also sprach Hanspeter Kunz <hp at edelkunz.ch> [2007.09.21.1528 +0100]:
> > > well, I do not know the implementation of egrep. If it is
> > > intelligent it simply discards constructions like .*$
> > 
> > It would still take more time.
> 
> yep. but only once to preprocess the pattern and not during actual
> pattern matching - given that grep does anything like that.
Yeah, it's regcomp() and regexec().  Also the BSD ones are re_*.






More information about the Logcheck-devel mailing list