From: oetiker Date: Fri, 21 Feb 2003 22:40:07 +0000 (+0000) Subject: colons must be escaped X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ce639546543cbec37180422c300ddc6b3641c3bc;p=rrdtool.git colons must be escaped git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@185 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/examples/piped-demo.pl.in b/examples/piped-demo.pl.in index 41005d8..7a3a72e 100755 --- a/examples/piped-demo.pl.in +++ b/examples/piped-demo.pl.in @@ -88,7 +88,7 @@ RRDp::cmd "graph $SVG ", "--title 'Test GRAPH' ", "GPRINT:calc:MAX:'Max calc\\: %1.2lf %S'", "VRULE:".($now-3600)."#008877:'60 Minutes ago'", "COMMENT:'\\s'", - "COMMENT:'Graph created on: ".localtime(time())."\\c'"; + "COMMENT:'Graph created on\\: ".localtime(time())."\\c'"; $answer = RRDp::read; } @@ -126,7 +126,7 @@ RRDp::cmd "graph $PNG ", "--title 'Test GRAPH' ", "GPRINT:calc:MAX:'Max calc\\: %1.2lf %S'", "VRULE:".($now-3600)."#008877:'60 Minutes ago'", "COMMENT:'\\s'", - "COMMENT:'Graph created on: ".localtime(time())."\\c'"; + "COMMENT:'Graph created on\\: ".localtime(time())."\\c'"; $answer = RRDp::read; }