Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

try to detect forgotten echo (or similar) commands #1637

Open
2 tasks done
ghost opened this issue Jul 4, 2019 · 0 comments
Open
2 tasks done

try to detect forgotten echo (or similar) commands #1637

ghost opened this issue Jul 4, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 4, 2019

For new checks and feature suggestions

Here's a snippet or screenshot that shows the problem:

#!/bin/bash
"this is a random message"

Here's what shellcheck currently says:

Nothing.

Here's what I wanted or expected to see:

Since my script is just a quoted string that also includes spaces, I'd like shellcheck to give me a warning like:
"W: Did you forget to use the echo command?"

@ghost ghost changed the title try to detect forgotten commands try to detect forgotten echo (or similar) commands Jul 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants