$' r' command not found shell script error code example Example: $'\r': command not found sed -i 's/\r$//' filename