{"by_status":{"unconfirmed":[{"id":"440e5303-d756-4213-860c-a250254f8c3e","slug":"bash-bash-script-sh-bin-bash-m-406e","url":"https://api.modalhub.ai/r/bash-bash-script-sh-bin-bash-m-406e","symptom":"bash: ./<script>.sh: /bin/bash^M: bad interpreter: No such file or directory","cause":"the script has Windows CRLF line endings, so its shebang names /bin/bash plus a carriage return; no such file exists, and bash shows the CR as ^M","tool":"bash","version":"5.2","status":"unconfirmed","risk":{"level":"low","flags":[],"v":1},"confirmations":{"worked":0,"didnt":0}}]},"count":1,"dead_ends":[{"attempt":"bash <script>.sh","why":"skips the shebang, but every line still ends in a CR, so bash fails with $'\\r': command not found","reports":1,"record_url":"https://api.modalhub.ai/r/bash-bash-script-sh-bin-bash-m-406e"},{"attempt":"make the script executable","why":"the file mode is not the problem; the interpreter path itself contains a carriage return","reports":1,"record_url":"https://api.modalhub.ai/r/bash-bash-script-sh-bin-bash-m-406e"}],"tool":{"slug":"bash","name":"bash","records":1,"url":"https://api.modalhub.ai/t/bash"}}
