From 2f149b3ffaa7f397759d4781d7d83e6950690b18 Mon Sep 17 00:00:00 2001 From: koalaman Date: Sat, 8 Apr 2017 16:29:48 -0700 Subject: [PATCH] Created SC1113 (markdown) --- SC1113.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 SC1113.md diff --git a/SC1113.md b/SC1113.md new file mode 100644 index 0000000..2f3cad7 --- /dev/null +++ b/SC1113.md @@ -0,0 +1,22 @@ +## Use #!, not just #, for the shebang. + +### Problematic code: + +```sh +# /bin/bash +echo "Hello World" +``` + +### Correct code: + +```sh +#! /bin/bash +echo "Hello World" +``` +### Rationale: + +You appear to be specifying a shebang, but missing the bang (i.e. `!`). The shebang should always be on the form `#!/path/shell`. + +### Exceptions: + +None. \ No newline at end of file