News for hackers. Stuff that matters.

orzen

Could not find a github/gitlab link so nack.
Re:Shell Style Guide on Tuesday May 15, 2018 @10:02AM (#17073960)
Bash is nowhere close for being de facto default shell for Linux. This is a bad analogy. In this case it is more like telling people that want to code Javascript to only write it in React. You got to go from something generic to something specific. Scripts written with bash will often rely on bash-specifics and can therefore only be interpreted by bash. There are entire projects dedicated to stop this plague. If you want to write portable shell scripts, use dash.

https://linux.die.net/man/1/checkbashisms https://mywiki.wooledge.org/Bashism https://wiki.ubuntu.com/DashAsBinSh https://en.wiktionary.org/wiki/bashism

Re:An Ikea Bowl Has Been Setting Things on Fire on Tuesday June 27, 2017 @07:07AM (#14644211)
Starting with clickbait...? Shame, shame