[rrd-users] Formating legend problem
Alex van den Bogaerdt
alex at ergens.op.het.net
Tue Jan 30 15:55:14 CET 2007
On Tue, Jan 30, 2007 at 02:31:56PM +0000, Valentinos Charalambous wrote:
> "AREA:$top#000000::$top "
How many characters are there in $top ?
Answer: you don't know.
How many characters are there in $top followed by 5 spaces ?
Answer: you still don't know.
What you want is ( $top + 5 spaces ) to have a fixed width.
> Can i make any changes to the above and fix the problem or i should change
> it completely?
I suggested using printf. What is the problem ?
More information about the rrd-users