Hacker News new | ask | show | jobs
by ByThyGrace 1682 days ago
Is it still bash code if you're running /bin/sh?
2 comments

Not for shellcheck(1). It warns about bashisms if it sees `/bin/sh` after the hash-bang.
Presumably not, it depends on your system. Some people symlink sh to bash.