Skip to content
Vidar Holen edited this page Dec 31, 2020 · 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

⌂ 换网址