[mrtg] Re: indexmaker filter name question

Takumi Yamane yamtak at b-session.com
Wed Feb 23 19:02:52 MET 2005


On Wed, 23 Feb 2005 11:51:37 -0500, Shane Presley wrote 
in <27ae921605022308511d25b300 at mail.gmail.com>:
> 
> indexmaker --output=whatever.html --filter name=~host  /etc/mrtg/
> mrtg.cfg
> 
> Returns a page with host and host2 on it.  
> 
> In other words how do I pattern match for an exact phrase, not just 
> the start?

Is this work?

--filter 'name=~^host$'


'man perlre' for more details.

-- 
Takumi Yamane <yamtak at b-session.com>

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list