Skip to content
Joachim Ansorg edited this page Nov 12, 2021 · 2 revisions

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

Related resources:

  • Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc!
Clone this wiki locally