3 ms·
> >Bash is the only shell scripting language permitted for executables. > Whelp, wrong right off the bat. It really is a Google guide, tailored to Google engi
by moviuro 8y ago
> >Bash is the only shell scripting language permitted for executables.
> Whelp, wrong right off the bat.
It really is a Google guide, tailored to Google engineers. If they know for sure that bash is available on any *n?x machine, then why not? It's just a local policy.
And if it's that much of a problem, the other places where you get bash instead of POSIX sh from Google (chromium?) the license clearly allows you to rewrite said script to suit your needs.
All other points are valid though.
Note that I chose to write all my scripts in POSIX (e.g. https://gitlab.com/moviuro/moviuro.bin https://gitlab.com/moviuro/moviuro.bin).
- Sir_Cmpwn 8y ago>It really is a Google guide, tailored to Google engineers. And posted in a public forum, which is why I made sure to protest its adoption by the broader public.
- alecbenzer 8y agoI don't get that from "Whelp, wrong off the bat", which seems to imply that there is a more unambiguous right answer here, and Google is wrong for deviating from it.
- Sir_Cmpwn 8y agoWell, even within Google I think this policy is stupid. Any software they make open source or have to port to new platforms that was based on this policy is going to break, and for what? Bashisms provide a dubious value-add.