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
Put continuation indicators at the start of the line:
grep … \
| sed … \
| cut … \
||echo …
Rationale: It's easier to tell apart the various command separators if they are lined up and separate from other distracting syntax like \. Black does the same thing for Python.
The text was updated successfully, but these errors were encountered:
Check out shfmt which supports both styles (shfmt -bn for the latter), and auto-formats them better than ShellCheck could. For the most part, ShellCheck focuses on issues related to semantics and does not try to arbitrate style.
For new checks and feature suggestions
Here's a snippet that shows the problem:
Here's what shellcheck currently says:
Here's what I wanted or expected to see:
Rationale: It's easier to tell apart the various command separators if they are lined up and separate from other distracting syntax like
\
. Black does the same thing for Python.The text was updated successfully, but these errors were encountered: