[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rrd-users
Subject:    [rrd-users] Re: GPRINT string formating
From:       alex () ergens ! op ! HET ! NET (Alex van den Bogaerdt)
Date:       2002-06-26 16:33:11
Message-ID: 200206261633.SAA14338 () slot ! hollandcasino ! nl
[Download RAW message or body]


=?iso-8859-1?Q?I=F1aki_Mart=EDnez?= wrote:

> OK.... i read the printf man .... look at this...

You read *a* printf man.

> `''    Separate the digits of the integer part of the result into groups as \
> specified by the locale specified for the LC_NUMERIC category; see section 7.6.1.1 \
> Generic Numeric Formatting Parameters. This flag is a GNU extension.

RRDtool does some checking on the formatter string as well. I don't
know if it does something special with this single quote (didn't
check the code) but if it does, printf will never see it.

What could also happen is that the quote needs to be escaped.

HTH
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
> work                                                         private |
> My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
> Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
> http://faq.mrtg.org/                                                 |
> http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic