[rrd-users] I need help with my rrd file
Nuno Pereira
nunopereira at interacesso.pt
Mon Sep 29 21:06:11 CEST 2008
> 1. It's a good bet that the following isn't doing what you think it is:
>
> > a=0
> > while [ $a!=0 ]; do
>
> You probably meant to do
>
> a=1
> while [ $a -ne 0 ]; do
>
> Though I will concede that the following would also work:
>
> a=1
> while [ $a != 0 ]; do
>
> or
> a=0
> while [ $a = 0 ]; do
In my opinion, as it was said previously, it would much better and simpler
to put:
while true; do
It would do the same and would be better to read.
Nuno Pereira
More information about the rrd-users
mailing list