[mrtg] Re: indexmaker
Stieers, Ken
KStieers at dainrauscher.com
Tue Aug 24 16:32:08 MEST 1999
-r is used to define a search string. Regular expressions are almost a
language into themselves. O'Reilly has a book on them. If you want
everything in the cfg file use '.' as your regular expresssion.
EX:
perl indexmaker -t 'title of the html page' -r '.' -o > /httpd/test.html
HTH,
Ken
> -----Original Message-----
> From: Engels PHAT [mailto:PEN at oce.nl]
> Sent: Tuesday, August 24, 1999 8:48 AM
> To: mrtg mailing list
> Subject: [mrtg] indexmaker
>
>
> I'm confused about the use of the indexmaker program.
>
> I want to create a HTML file based on a single cfg file with 25 pvc's
>
> I've used the following syntax
>
> perl indexmaker -t 'title of the html page' -r '?????????' -o
> /httpd/test.html
>
>
> I do understand the -t and the -o option
> but what the hell with the -r option
>
> what is the meaning of the regular expression
> where is the indexmaker program looking for with the -r
> option? I don't
> understand!!
>
> cfg file name equant.cfg
>
> entries in the cfg file 134.188.x.y.
>
>
>
>
>
> Piet Engels
> Océ Technologies B.V.
> Postbus 101
> 5900 MA Venlo
> Netherlands
> Phone +31 77 3592536
> Fax +31 77 3595484
> email pen at oce.nl
>
> --
> * To unsubscribe from the mrtg mailing list, send a message with the
> subject: unsubscribe to mrtg-request at list.ee.ethz.ch
> * The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
>
--
* To unsubscribe from the mrtg mailing list, send a message with the
subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
More information about the mrtg
mailing list