3 ms·
I think BASH scripting is the opposite of riding a bike - you end up re-learning it almost every time you need to do it
by ndsipa_pomu 4y ago
I think BASH scripting is the opposite of riding a bike - you end up re-learning it almost every time you need to do it
- xeddit 4y agoWhat really put a stick in my spokes early on was not realising how whitespace acts differently to what I was used to. syntax error near unexpected token ? I was missing a space inside a [[ ]] - I started paying more close attention, this isn't javascript.
- ndsipa_pomu 4y agoUse shellcheck as a linter for your scripts as that'll catch stuff like that.
- Aachen 4y agoThen you haven't learned it, or you need it no more than once a year for 15 minutes maybe? My girlfriend complained about Firefox aalllways needing updates every time she starts it. Yeah, because she used Chrome most of the time, if you start Firefox once every other month, of course that's going to happen every time. This sounds like a similar issue: the software may not be the friendliest, but you can't really expect another outcome if you never use it because you don't like it because you never use it.