I hav written a very small shell script in bin bash & its not working. The script is ::
The error is :Code:
while [ $i -le 3.0 ]
i=`expr "$i + 0.5" | bc`;
I think the use of decimals in the while loop is creating problems.Code:
line 6: [: 1.0: integer expression expected
Please help, in urgent need.