> 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

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to