Bash. How to remove syntax error?


Did the calculation of real numbers.
The terminal continues to issue a syntax error.

Everything works fine, I do not understand why he complains.
How to remove this error from the terminal?
April 7th 20 at 15:28
3 answers
April 7th 20 at 15:30
Bash doesn't know how floating point numbers, only integers. Print operation into a calculator and read data from it.
April 7th 20 at 15:32
$ echo 5.32/4.3 | bc-l
April 7th 20 at 15:34
take the option in quotation marks
and the script was treated as arguments
./ "$1" "$2" "$3"

Find more questions by tags bashLinuxMint