brianbenz.com

Code, Cloud, Clarity — Powered by AI


Shell

  • Fun and games with carriage returns in bash scripts

    Recently, I was trying to run a bash script in my Windows terminal, and ran into an error I haven’t seen for quite some time: ./deploy.sh: line 5: $’\r’: command not found./deploy.sh: line 9: $’\r’: command not found./deploy.sh: line 15: $’\r’: command not found./deploy.sh: line 19: $’\r’: command not found./deploy.sh: line 21: $’\r’: command not… Continue reading