Hi Dave, if you use the rrdtool pipe mode then the limitations of your shell will not apply!
cheers tobi Today Kant, D (Dave) wrote: > > My script is basically one very long line. > > #!/bin/sh > /usr/bin/rrdtool graph site_disk_HMW6dFGqY4.png -t 'Used Disk Storage' > -s -3m -w500 -h125 -l 0 DEF:A=A_multidisk.rrd:Used:MAX > DEF:B=B_multidisk.rrd:Used:MAX ... > > I tried using "sed" to insert a line continuation character before each > DEF and CDEF. The script then looks like this:- > > /usr/bin/rrdtool graph site_disk_HMW6dFGqY4.png -t 'Used Disk Storage' > -s -3m -w500 -h125 -l 0 \ > DEF:A=A_multidisk.rrd:Used:MAX \ > DEF:B=B_multidisk.rrd:Used:MAX \ > ... > > However, I still get the error. > > Dave -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten http://it.oetiker.ch [EMAIL PROTECTED] ++41 62 213 9902 -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
