2 ms·
I've seen way too many devs try to recreate gnu coreutils their way because of a silly aversion to bash. As a sysadmin (sorry, thats not popular these days coug
by arminiusreturns 7y ago
I've seen way too many devs try to recreate gnu coreutils their way because of a silly aversion to bash. As a sysadmin (sorry, thats not popular these days cough Ops guy) you can pry the bash out of my cold dead hands, and most of the "wierd edge cases" are easily avoided just like those of any language.
I know everybody likes to think devops and cattle/pets and "you should never ssh into machines" are how things should be and there thats how they are, but in the real, non-sv software startup world sysadmins around the world who get that 3am call are fixing some devs shit with bash and sysv/systemd scripts.
I feel at this point it's just a bandwagon people jump onto because they want to feel superior. Just mention bash on HN and expect any number of "... don't use bash" comments.
Bash best practice is always double quote variables! Do that and the post becomes rambling about what happens when you dont follow standard bash practices.
- Lammy 7y agoWhat about my aversion to m4? =P
- arminiusreturns 7y agoIf know m4 enough to have an aversion to it you can do what you want. [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “click”
- garaetjjte 7y agoCylinder shouldn't be stateless..