-
-
Notifications
You must be signed in to change notification settings - Fork 348
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
RFC/E: more simplification / dropping of unnecessary quotes #996
Comments
Similarly, in Bash,
Edit: Bash <= 4.3 has a bug in here strings: koalaman/shellcheck#1009 (comment), so here strings need to be quoted as far as bash <= 4.3 is supported. |
Thanks for the info. What I'm specifically thinking of are the simple |
For the simple case
|
It seems there's room for some more removal of unnecessary quotes on simplify; to my knowledge word splitting does not occur:
[[ ]]
-- some quotes are removed in this context already, but not e.g from the right side of things like[[ $foo == "$bar" ]]
=
and+=
)I don't know offhand how this is for other shells besides bash, but thought I'd drop the suggestion here for comments already based just on the bash info.
The text was updated successfully, but these errors were encountered: