Created SC1084 (markdown)

koalaman
2014-10-11 12:19:36 -07:00
parent 71214fb634
commit 320d366f01

19
SC1084.md Normal file

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