From 2cba082038c601544af881968060a3ba6d1c2dbf Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Sun, 27 Jan 2019 15:01:35 -0800 Subject: [PATCH] Updated SC1008 (markdown) --- SC1008.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SC1008.md b/SC1008.md index 241693f..67f2702 100644 --- a/SC1008.md +++ b/SC1008.md @@ -1,4 +1,4 @@ -## This shebang was unrecognized. Note that ShellCheck only handles sh/bash/dash/ksh. +## This shebang was unrecognized. ShellCheck only supports sh/bash/dash/ksh. Add a 'shell' directive to specify. ### Problematic code: @@ -17,7 +17,7 @@ echo "Hello World" ### Rationale: -You have specified a shebang that ShellCheck doesn't recognize. This can be due to invoking the script via a wrapper, specifying a dummy like `#!/bin/false` to prevent execution, or writing a script for a non-Bourne shell or tool. +You have specified a shebang that ShellCheck doesn't recognize. This can be due to invoking the script via a wrapper, specifying a dummy like `#!/bin/false` to prevent execution, or trying to check a script for a non-Bourne shell or tool. If this really is a sh/bash/dash/ksh script, please add a `shell` directive after the shebang to tell ShellCheck how to interpret the script, as in the example. You can also specify the shell with the `-s` flag.