$'\r': command not found bash script atom code example
Example 1: run.sh: line 39: $'\r': command not found
sed -i 's/\r$//' filename
Example 2: $'\r': command not found
sed -i 's/\r$//' filename
sed -i 's/\r$//' filename
sed -i 's/\r$//' filename