<br>After adaptation to convert to ksh syntax, that's works perfectly.<br><br>Thanks a lot for your patience about my problem and my poor english ;)<br><br><br><div class="gmail_quote">2013/1/30 Simon Hobson <span dir="ltr"><<a href="mailto:linux@thehobsons.co.uk" target="_blank">linux@thehobsons.co.uk</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">unicsonline wrote:<br>
> It seems better but I have now to find how build this formula for any cases, between one db source to x dbsources<br>
<br>
Iteratively would seem to be the way to do it. In shell I'd do it like :<br>
<br>
rpn="data${x}"<br>
i = $(( $x - 1 )<br>
while $i > 0<br>
do<br>
rpn="data$i,UN,${rpn},data$i,IF"<br>
i=$(( $i - 1 ))<br>
done<br>
<br>
_______________________________________________<br>
rrd-users mailing list<br>
<a href="mailto:rrd-users@lists.oetiker.ch">rrd-users@lists.oetiker.ch</a><br>
<a href="https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users</a><br>
</blockquote></div><br>