[rrd-users] CDEF problem

Rene Fritzsche Rene at deinheld.de
Tue Jan 27 22:54:06 CET 2009


Hi,

[...]
> but when I execute the script I get:
> 
> syntax error near unexpected token `('
>   `    CDEF:prec=PREV(pippo) \'
> 
> and I can't understand why.

some shells (like bash, csh.. to name a few) dont like the use of ( or ) in their
scripts, as this represents some indirect variables... 
simple solution:
put " around your definitions... like this:

"CDEF:prec=PREV(pippo)" \
"...."

it works for me.. but i dont know which shell you are using to execute your
rrd-command.

HTH

Rene.

_______________________________________________________________________
NUR NOCH BIS 31.01.! WEB.DE FreeDSL - Telefonanschluss + DSL
für nur 16,37 EURO/mtl.!* http://dsl.web.de/?ac=OM.AD.AD008K13805B7069a



More information about the rrd-users mailing list