From 58cbcbc7d9f99a2a92c6c5eb7cc3502bda2ef2a0 Mon Sep 17 00:00:00 2001 From: koalaman Date: Tue, 21 Feb 2017 09:38:24 -0800 Subject: [PATCH] Updated SC2096 (markdown) --- SC2096.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SC2096.md b/SC2096.md index 2d09ae0..3207704 100644 --- a/SC2096.md +++ b/SC2096.md @@ -15,10 +15,10 @@ set -x ### 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. ### Exceptions -None. +macOS X currently allows multiple words in the shebang. Scripts running on OSX exclusively can ignore this warning. \ No newline at end of file