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
(ShellCheck recognizes this idiom and does not suggest quotes or $(), neither of which would have worked)
Rationale:
ShellCheck found a line continuation followed by a commented line that appears to try to do the same.
Backslash line continuations are not respected in comments, and the line instead simply terminates. This is a problem when commenting out one line in a multi-line command like the example.
Instead, either move the line away from its statement, or use an `# inline comment` in an unquoted backtick command substitution.
Exceptions:
None.
Related resources:
Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc!