I am writing a script and in between. I am trying to replace all the commas of the string stored in a variable to spaces.
basically the variable dpoint
contains comma saparated floating point numbers
like 0.0,4.2,3.6666
i am using dpoint=${dpoint//,/ }
to replace all commas.
here is the exact error what i am getting.
i read this question here. and i found myself doing nothing wrong..(definitely i am doing... can't figure it out).
it has been an hour fixing this error. finally i posted it here what the heck am i doing wrong?
update: i am using dash shell