[rrd-users] Re: GPRINT string formating

Alex van den Bogaerdt alex at ergens.op.HET.NET
Wed Jun 26 18:33:11 MEST 2002


=?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



More information about the rrd-users mailing list