[rrd-users] Re: Bug? : RRDs perl module is very picky about trailing white spaces

Tobias Oetiker oetiker at ee.ethz.ch
Mon Aug 29 17:39:44 MEST 2005


Today Andreas Maus wrote:
> >
> > Slightly confusing: the command is "COMMENT:Maximum" and that colon is
> > not from your script line but from english text.  In other words, rrdtool
> > accepted until "maximum" and complained about every token that followed,
> > including its token separator ":".  You gave it a token separator of ":"
> > and a token of " ".
> Yes. That is the part that confuses me. It think it should care about the
> the first colon in the COMMENT statement because it separates the statement
> from text and don't care about colons after that first one. Or at least
> this was the behavior in rrdtool 1.0.x

yes this is an incompatible change vs 1.0.x as noted in the NEWS
file ... :-) the background is, that now all strings are handled
the same and if we ever decide to add an optional argument to the
COMMENT command we are all set.

cheers
tobi


-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker @ ISG.EE, ETL F24.2, ETH, CH-8092 Zurich
 / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/oetiker +41(0)44-632-5286

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list