I'm under Ubuntu 11.10, when I execute this program in bash I have the following error:
exec.bash: line 25: [: 0.1: integer expected as an expression
line 25 is:
while [ $p -le 1.0 ]
in the following context
p=0.1 while [ $p -le 1.0 ] do echo ----probability---- $p java $jvmargs -classpath $CP jbenchmarker.MainSimulation $p (( p= $p + 0.1 )) done
where is the problem?