mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated SC2040 (markdown)
@@ -1,6 +1,6 @@
|
|||||||
## `#!/bin/sh` was specified, so ____ is not supported, even when sh is actually bash.
|
## `#!/bin/sh` was specified, so ____ is not supported, even when sh is actually bash.
|
||||||
|
|
||||||
_Note removed in [v0.4.2 - 2016-01-10](https://github.com/koalaman/shellcheck/commit/f77821625c8e9203712f276d470341459ee60455)_
|
_Note: Removed in [v0.4.2 - 2016-01-10](https://github.com/koalaman/shellcheck/commit/f77821625c8e9203712f276d470341459ee60455)_
|
||||||
|
|
||||||
The shebang indicates that the script works with `/bin/sh`, but you are using non-standard features that may not work with `/bin/sh`, **even if /bin/sh is actually bash**. Bash behaves differently when invoked as `sh`, and disabling support for the highlighted feature is one part of that.
|
The shebang indicates that the script works with `/bin/sh`, but you are using non-standard features that may not work with `/bin/sh`, **even if /bin/sh is actually bash**. Bash behaves differently when invoked as `sh`, and disabling support for the highlighted feature is one part of that.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user