[rrd-users] Can't have spaces in Title

Petteri Matilainen pmatil at gmail.com
Sat Mar 30 15:47:30 CET 2013


On 30.3.2013 16:38, Alan McKay wrote:
>
> On Sat, Mar 30, 2013 at 9:20 AM, Alan McKay <alan.mckay at gmail.com
> <mailto:alan.mckay at gmail.com>> wrote:
>
> I've hit this before quite some time ago and I think there is a BASH
> variable I have to set in my script which alters the way it handles
> strings, or something like that.


I also use bash and variables in my scripts and everything is working 
fine. I simply use variable="contents of the variable" and then in rrd 
call $variable. I don't even escape that like you do. Although, I'm not 
that familiar with bash scripting fundamentals.

And as for the comments I use similar lines. Like so: 
generated="Generated $date"
.
.
.
COMMENT:"$generated \\c" \

the \\c just centers the comment line horizontally.

-Petteri



More information about the rrd-users mailing list