4 ms·
I'm always amazed at how scripts intented to use only POSIX features become buggy when dash is used instead of bash.
by webreac 8y ago
I'm always amazed at how scripts intented to use only POSIX features become buggy when dash is used instead of bash.
- yjftsjthsd-h 8y agoYeah, for anything that I want to be portable, I explicitly run it with bash, dash, mksh, and heirloom sh. I figure that if it works in all of those, then the result is either truly portable... or nobody will ever notice:) It also should really help that Debian, IIRC, actually sets /bin/sh to dash by default?