diff --git a/SC1104.md b/SC1104.md new file mode 100644 index 0000000..0db3335 --- /dev/null +++ b/SC1104.md @@ -0,0 +1,25 @@ +## Use #!, not just !, for the shebang. + +### Problematic code: + +```sh +!/bin/sh +echo "Hello" +``` + +### Correct code: + +```sh +#!/bin/sh +echo "Hello" +``` + +### Rationale: + +You appear to be specifying an interpreter in a shebang, but it's missing the hash part. The shebang must always start with `#!`. + +Even the name "shebang" itself comes from "hash" (`#`) + "bang" (`!`). + +### Exceptions: + +None. \ No newline at end of file