diff --git a/SC1115.md b/SC1115.md new file mode 100644 index 0000000..9a45e56 --- /dev/null +++ b/SC1115.md @@ -0,0 +1,24 @@ +## Remove spaces between # and ! in the shebang. + +### Problematic code: + +```sh +# !/bin/sh +echo "Hello World" +``` + +### Correct code: + +```sh +#!/bin/sh +echo "Hello World" +``` +### Rationale: + +The script has spaces between the `#` and `!` in the shebang. This is not valid. + +Remove the spaces so the OS can correctly recognize the file as a script. + +### Exceptions: + +None. \ No newline at end of file