4 ms·
I wouldn't say putting a sh shebang and assuming bash is better. With a bash shebang at least you're honest about it.
by bobthebuilders 5y ago
I wouldn't say putting a sh shebang and assuming bash is better. With a bash shebang at least you're honest about it.
- OJFord 5y agoWell yes, absolutely. I phrased that poorly, what I meant was like '/bin/sh is better... Especially if it actually works' or something. It's easily done though, I've often thought I've written something POSIX compatible and then had shellcheck say nope.