From 320d366f01a201bcc025ef19c3dbbb75c92020b3 Mon Sep 17 00:00:00 2001 From: koalaman Date: Sat, 11 Oct 2014 12:19:36 -0700 Subject: [PATCH] Created SC1084 (markdown) --- SC1084.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 SC1084.md diff --git a/SC1084.md b/SC1084.md new file mode 100644 index 0000000..cbf46a1 --- /dev/null +++ b/SC1084.md @@ -0,0 +1,19 @@ +## Use #!, not !#, for the shebang. + +### Problematic code: + + !#/bin/sh + echo "Hello World" + +### Correct code: + + #!/bin/sh + echo "Hello World" + +### Rationale: + +The shebang has been accidentally swapped. The `#` should come first: `#!`, not `!#`. + +### Contraindications + +None. \ No newline at end of file