From 6468bb013c8e8eaf7826f66618643d2aa1519ac4 Mon Sep 17 00:00:00 2001 From: koalaman Date: Sat, 8 Apr 2017 16:36:21 -0700 Subject: [PATCH] Created SC1115 (markdown) --- SC1115.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 SC1115.md 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