On 30.3.2013 16:38, Alan McKay wrote:
>
> On Sat, Mar 30, 2013 at 9:20 AM, Alan McKay <alan.mc...@gmail.com
> <mailto:alan.mc...@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

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to