3 ms·
Is it still bash code if you're running /bin/sh?
Is it still bash code if you're running /bin/sh?
Presumably not, it depends on your system. Some people symlink sh to bash.
Not for shellcheck(1). It warns about bashisms if it sees `/bin/sh` after the hash-bang.