mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-01-03 17:50:07 -08:00
Updated SC1008 (markdown)
parent
0aeadff708
commit
2cba082038
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user