./build.sh: line 2: $'\r': command not found ./build.sh: line 5: $'\r': command not found ./build.sh: line 19: syntax error: unexpected end of file code example
Example: $'\r': command not found
sed -i 's/\r$//' filename
sed -i 's/\r$//' filename