mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated SC2239 (markdown)
@@ -25,7 +25,7 @@ If you don't know where the interpreter is and you hoped to use `#! bash`, this
|
|||||||
```sh
|
```sh
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
echo "Hello World"
|
echo "Hello World"
|
||||||
```
|
```
|
||||||
|
|
||||||
While not required by POSIX, `env` can essentially always be found in `/usr/bin` and will search the PATH for the specified executable.
|
While not required by POSIX, `env` can essentially always be found in `/usr/bin` and will search the PATH for the specified executable.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user