News for hackers. Stuff that matters.
Re:Shell Style Guide by moviuro on Tuesday May 15, 2018 @09:45AM (#17073848)
> >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).

Re:Shell Style Guide by Sir_Cmpwn on Tuesday May 15, 2018 @10:12AM (#17074023)
>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.

Re:Shell Style Guide by alecbenzer on Tuesday May 15, 2018 @11:01AM (#17074426)
I 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.
Re:Shell Style Guide by Sir_Cmpwn on Tuesday May 15, 2018 @11:03AM (#17074443)
Well, 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.