![if statement - Bash : Syntax error near unexpected token `elif' with if/then blocks w/ only comments - Stack Overflow if statement - Bash : Syntax error near unexpected token `elif' with if/then blocks w/ only comments - Stack Overflow](https://i.stack.imgur.com/nWsgz.png)
if statement - Bash : Syntax error near unexpected token `elif' with if/then blocks w/ only comments - Stack Overflow
![Why doesn't this work i get unexpected token at line 16 “done” if i remove it i get syntax error unexpected end of file : r/bash Why doesn't this work i get unexpected token at line 16 “done” if i remove it i get syntax error unexpected end of file : r/bash](https://preview.redd.it/why-doesnt-this-work-i-get-unexpected-token-at-line-16-done-v0-q0c7zvtvc8c91.jpg?auto=webp&s=c3b3883c5992b18513260c44feb6a07acd2549e0)
Why doesn't this work i get unexpected token at line 16 “done” if i remove it i get syntax error unexpected end of file : r/bash
![PHP+Docker】対話シェルで echo したら Parse error: syntax error, unexpected token "echo", expecting ";" or "," in php shell code on Line 1 - Qiita PHP+Docker】対話シェルで echo したら Parse error: syntax error, unexpected token "echo", expecting ";" or "," in php shell code on Line 1 - Qiita](https://qiita-user-contents.imgix.net/https%3A%2F%2Fcdn.qiita.com%2Fassets%2Fpublic%2Farticle-ogp-background-9f5428127621718a910c8b63951390ad.png?ixlib=rb-4.0.0&w=1200&mark64=aHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTkxNiZ0eHQ9JUUzJTgwJTkwUEhQJUVGJUJDJThCRG9ja2VyJUUzJTgwJTkxJUU1JUFGJUJFJUU4JUE5JUIxJUUzJTgyJUI3JUUzJTgyJUE3JUUzJTgzJUFCJUUzJTgxJUE3JTIwZWNobyUyMCVFMyU4MSU5NyVFMyU4MSU5RiVFMyU4MiU4OSUyMFBhcnNlJTIwZXJyb3IlM0ElMjBzeW50YXglMjBlcnJvciUyQyUyMHVuZXhwZWN0ZWQlMjB0b2tlbiUyMCUyMmVjaG8lMjIlMkMlMjBleHBlY3RpbmclMjAlMjIlM0IlMjIlMjBvciUyMCUyMiVFMiU4MCVBNiZ0eHQtY29sb3I9JTIzMjEyMTIxJnR4dC1mb250PUhpcmFnaW5vJTIwU2FucyUyMFc2JnR4dC1zaXplPTU2JnR4dC1jbGlwPWVsbGlwc2lzJnR4dC1hbGlnbj1sZWZ0JTJDdG9wJnM9MjMyMTI5NmY2OGJjYjM1ZDI1YWYxYjY1ZmQ1ZWE0Nzg&mark-x=142&mark-y=112&blend64=aHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTYxNiZ0eHQ9JTQwS0VJTk9TJnR4dC1jb2xvcj0lMjMyMTIxMjEmdHh0LWZvbnQ9SGlyYWdpbm8lMjBTYW5zJTIwVzYmdHh0LXNpemU9MzYmdHh0LWFsaWduPWxlZnQlMkN0b3Amcz1lZWJlMWU1OWY1OWFhZDk4YTczYmQzNDI5OGM1NTU0Ng&blend-x=142&blend-y=491&blend-mode=normal&s=ca9fae7ea5b98b9f837ad7ec894dedb2)
PHP+Docker】対話シェルで echo したら Parse error: syntax error, unexpected token "echo", expecting ";" or "," in php shell code on Line 1 - Qiita
![javascript - Uncaught SyntaxError: Unexpected token '<' plugins.js:1 and Uncaught SyntaxError: Unexpected token '<' active.js:1 - Stack Overflow javascript - Uncaught SyntaxError: Unexpected token '<' plugins.js:1 and Uncaught SyntaxError: Unexpected token '<' active.js:1 - Stack Overflow](https://i.stack.imgur.com/28aQL.png)
javascript - Uncaught SyntaxError: Unexpected token '<' plugins.js:1 and Uncaught SyntaxError: Unexpected token '<' active.js:1 - Stack Overflow
![ubuntu - error in .bashrc file Linux bash: /usr/share/bash-completion/bash_completion: line 217: syntax error near unexpected token `done' - Unix & Linux Stack Exchange ubuntu - error in .bashrc file Linux bash: /usr/share/bash-completion/bash_completion: line 217: syntax error near unexpected token `done' - Unix & Linux Stack Exchange](https://i.stack.imgur.com/hCKsw.png)
ubuntu - error in .bashrc file Linux bash: /usr/share/bash-completion/bash_completion: line 217: syntax error near unexpected token `done' - Unix & Linux Stack Exchange
![shell script - Syntax error near unexpected token `}' in a Bash function with an if-then statement - Unix & Linux Stack Exchange shell script - Syntax error near unexpected token `}' in a Bash function with an if-then statement - Unix & Linux Stack Exchange](https://i.stack.imgur.com/3NKZM.png)
shell script - Syntax error near unexpected token `}' in a Bash function with an if-then statement - Unix & Linux Stack Exchange
![Why shell script is giving syntax errors without any issue? The same scripts work in another system - UnixArena Why shell script is giving syntax errors without any issue? The same scripts work in another system - UnixArena](https://www.unixarena.com/wp-content/uploads/2021/11/Shell-Script-carriage-return.png)