Hi! The first Bash Script works fine, the second crash.
What can I do to have the second script working, using the variable $LINE?

THIS WORK
------------------
#!/bin/sh
LINE='LINE:temp1#000000:"test one"'
rrdtool graph /test.png DEF:temp1=/test.rrd:temp1:AVERAGE "$LINE"
------------------
481x168


THIS DONT WORK
------------------
#!/bin/sh
LINE='LINE:temp1#000000:"test one" LINE:temp1#00ffff:"test two"'
rrdtool graph /test.png DEF:temp1=/test.rrd:temp1:AVERAGE "$LINE"
------------------
ERROR: Garbage found where STACK expected
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

Reply via email to