[rrd-developers] GIF and Y0
Alex van den Bogaerdt
alex at ergens.op.HET.NET
Sat Apr 6 14:48:33 MEST 2002
People,
I've submitted some changes to many files.
Most of the references to `gif' are now changed in an apropriate
way. im->xgif and im->ygif are now im->ximg and im->yimg, examples
use png or svg.
I also changed y0,y1 into Y0,Y1. To make things the same I did so
also for x0,x1,x2,y2.
If you, like me, work with a local copy of the cvs tree you may want
to try this small script; it creates a copy of rrdtool and modifies
the sources. Most of the shadowed variables are then gone at the
expense of a few minor changes in the text. You probably will
have to modify it a bit; also be careful to not delete important
stuff. Use at your own risc et cetera.
#!/bin/bash
# This program copies the rrdtool cvs archive into
# another dir, modifying some variables along the way
# This because variable names y0,y1,gamma shouldn't be
# used when you don't want so much warnings.
cd /home/rrdtool/cvs
rm -rf work
mkdir work || { echo Aborting >&2; exit 1; }
cp -r rrdtool/* work
find work -name '*.[ch]' -print | xargs rm
cd rrdtool
find contrib program -name '*.[ch]' -exec bash -c "sed '
s/\<x0\>/X0/g
s/\<x1\>/X1/g
s/\<x2\>/X2/g
s/\<y0\>/Y0/g
s/\<y1\>/Y1/g
s/\<y2\>/Y2/g
s/\<gamma\>/Gamma/g
s/\<index\>/Index/g
' < {} > ../work/{}" ';'
exit 0
--
__________________________________________________________________
/ 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-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-developers
mailing list