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!

ShellCheck

Each individual ShellCheck warning has its own wiki page like SC1000. Use GitHub Wiki's "Pages" feature above to find a specific one, or see Checks.

Clone this wiki locally