3 ms·
What 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 wa
by xeddit 4y ago
What 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.