colons must be escaped
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Fri, 21 Feb 2003 22:40:07 +0000 (22:40 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Fri, 21 Feb 2003 22:40:07 +0000 (22:40 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@185 a5681a0c-68f1-0310-ab6d-d61299d08faa

examples/piped-demo.pl.in

index 41005d8..7a3a72e 100755 (executable)
@@ -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;
 }