-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Consider not to suggest quoting HOME, UID, etc. #2706
Comments
|
Which is exactly why I wrote "sane environment". |
And the point is that you can not dictate what that is. |
If anything, it will get you into the good habit of always quoting variables, and in this case it has no downside. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For bugs
Here's a snippet or screenshot that shows the problem:
Here's what shellcheck currently says:
SC2086 Double quote to prevent globbing and word splitting.
Here's what I wanted or expected to see:
Should this check be lenient on standard environment variables that won't have problematic characters in any sane environment? (
HOME UID LOGNAME RANDOM COLUMNS LINES
, etc.).touch /var/mail/"$USER"
seems a bit redundant.The text was updated successfully, but these errors were encountered: