Answers for "line 22: $'\r': command not found"

3

$'r': command not found

Inside WSL:

sudo apt-get install dos2unix

Then,

dos2unix [file]

Full documentation:

man dos2unix
#mdem
dos2unix test.sh
Posted by: Guest on August-10-2020
0

$'r': command not found

sed -i 's/r$//' filename
Posted by: Guest on October-19-2020

Code answers related to "line 22: $'\r': command not found"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language