I had a problem with the command from this condition in a bash script, since the bash script does not support floating point numbers.
if ([ $first_util -gt 0.10 ] || [ $first_util -le 1.00 ]) && [ $first_sig -ge $first_sig_min ]; then
else
fi
I want the first and second condition to be processed first using "or", and then with the 3rd condition with "and", but in this case all numbers are float, not integers.
How to solve this problem? thank you
source
share