[smokeping-users] replacing vars in the config

Warrick FitzGerald lists.smokeping.wfitzgerald at crtman.com
Wed Jul 27 22:26:46 MEST 2005


Hi guys,

smokeping_config says:

       '@define a some value' will replace all occurences of 'a'
       in the following text with 'some value'.

So I thought, ah great - instead of repeating the URL I'm using with
Curl, I'll define it as a variable at the top of the page.

So I did something like this

@define    %DomainURL%   www.Domain.com

and then use %DomainURL% in the config.

The prolem is that the dots "." in www.Domain.com get escaped somehow.
So when curl gets called it is recieving www\.Domain\.com

Is there someway to stop the @define escaping the dots "."? I've tried
quoting the string and I've tried escaping the dots myslef.

Thanks
Warrick FitzGerald

--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/smokeping-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the smokeping-users mailing list