You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
you can change the hi to ; or (just a space) and shellcheck doesn't like any of them. this is a bit of a contrived case, but it came up in two non-contrived scenarios:
creating a heredoc of SQL code which itself used a heredoc-like syntax
This was originally intentional because it was generally what the user seemed to expect, like this perfectly well-formed but wrong snippet:
cat << eof
foo
eof | nl
cat << eof
more stuff
eof
Misparsing a script means you can't simply ignore the issue though, so it should be fixed to flag the (potential) issue while continuing to parse correctly.
shellcheck.net incorrectly rejects:
you can change the
(just a space) and shellcheck doesn't like any of them. this is a bit of a contrived case, but it came up in two non-contrived scenarios:
hi
to;
orHere's what shellcheck currently says:
The text was updated successfully, but these errors were encountered: