2 SC2274
Joachim Ansorg edited this page 2021-11-12 19:58:00 +01:00

Command name starts with ===. Intended as a commented border?

Problematic code:

===================== MAIN SECTION =======================

Correct code:

# ===================== MAIN SECTION =======================

Rationale:

ShellCheck found a command that starts with a series of ===s. This may have been intended as a border, but is missing the # to turn it into a harmless comment.

Exceptions:

None

  • Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc!