Y
Hacker News
new
|
ask
|
show
|
jobs
by
ByThyGrace
1682 days ago
Is it still bash code if you're running /bin/sh?
2 comments
tempodox
1682 days ago
Not for shellcheck(1). It warns about bashisms if it sees `/bin/sh` after the hash-bang.
link
mrlemke
1682 days ago
Presumably not, it depends on your system. Some people symlink sh to bash.
link