Answers for "linux error $' r' command not found"

7

run.sh: line 39: $'r': command not found

sed -i 's/r$//' filename
Posted by: Guest on August-11-2020
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

Code answers related to "linux error $' r' command not found"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language