Open keshav1002 opened 4 months ago
This issue occurs due to a mismatch in CR/LF line endings and the current operating system. It was reported this issue arose in an Apple M2 pro machine. To fix this run the following command in the terminal to remove the CR in CRLF line endings.
sed -i -e 's/\r$//' sonar.sh
I got this error when running the script on my machine.
/bin/bash^M: bad interpreter: No such file or directory