SC2274 – ShellCheck Wiki

See this page on GitHub

Sitemap


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


ShellCheck is a static analysis tool for shell scripts. This page is part of its documentation.