‘\r’: command not found [duplicate]

It seems that you have Windows style line endings (\r\n) – you need to change them to unix style (\n). If you have dos2unix installed you could use it. You could also do it using sed or awk.

Leave a Comment