Created SC1113 (markdown)

koalaman
2017-04-08 16:29:48 -07:00
parent 0d65145218
commit 2f149b3ffa

22
SC1113.md Normal file

@@ -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.