diff --git a/SC2274.md b/SC2274.md new file mode 100644 index 0000000..df15457 --- /dev/null +++ b/SC2274.md @@ -0,0 +1,24 @@ +## Command name starts with ===. Intended as a commented border? + +### Problematic code: + +```sh +===================== MAIN SECTION ======================= +``` + +### Correct code: + +```sh +# ===================== 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! \ No newline at end of file