6

-le comparison problem in bash script

view full story
linux-howto

http://askubuntu.com – I'm under Ubuntu 11.10, when i excute this program in bash i have error : exec.bash: line 25: [: 0.1: integer expected as an expression ligne 25 is : while [ $p -le 1.0 ] 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 problem please ? (HowTos)