Re:Something about functions in Bash (2017)
by webreac on Thursday July 05, 2018 @04:37PM
(#17466610)
I'm always amazed at how scripts intented to use only POSIX features become buggy when dash is used instead of bash.
[ Parent
| on HN ]
Re:Something about functions in Bash (2017)
by yjftsjthsd-h on Thursday July 05, 2018 @08:36PM
(#17468063)
Yeah, 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?