Updated SC2096 (markdown)

koalaman
2017-02-21 09:38:24 -08:00
parent 39fb60db87
commit 58cbcbc7d9

@@ -15,10 +15,10 @@ set -x
### Rationale: ### Rationale:
Most operating systems, including Linux, FreeBSD and OS X, allow only a single parameter in the shebang. The example is equivalent to calling `env 'bash -x'` instead of `env 'bash' '-x'`, and it will therefore fail. Most operating systems, including POSIX, Linux and FreeBSD, allow only a single parameter in the shebang. The example is equivalent to calling `env 'bash -x'` instead of `env 'bash' '-x'`, and it will therefore fail.
The shebang should be rewritten to use at most one parameter. Shell options can instead be set in the body of the script. The shebang should be rewritten to use at most one parameter. Shell options can instead be set in the body of the script.
### Exceptions ### Exceptions
None. macOS X currently allows multiple words in the shebang. Scripts running on OSX exclusively can ignore this warning.