3 ms·
Because for some people it's edifying to learn just how necessary bash is on their systems.
by danielweber 12y ago
Because for some people it's edifying to learn just how necessary bash is on their systems.
- ciupicri 12y agoJust because something works, doesn't mean it's right. How are you going to prove/test that the scripts really work as they should? After all they supposedly worked fine before Shellshock.
- Zancarius 12y agoIt's not that difficult to test for bashisms (most such scripts fail immediately if run from anything other than bash, often with a syntax error), and honestly, most of the scripts I've encountered in the wild that specific /bin/sh work well with a sh-compatible shell. This is especially true if they target systems that don't ship with bash by default (*BSD). I think the objective here is that the script authors should request bash when using bash syntax extensions and sh otherwise.