3 ms·
I used to refer to that all the time, but it doesn't have newer bashisms (shell != bash). A better resource is https://mywiki.wooledge.org/BashGuide https://my
by ndsipa_pomu 4y ago
I used to refer to that all the time, but it doesn't have newer bashisms (shell != bash).
A better resource is https://mywiki.wooledge.org/BashGuide https://mywiki.wooledge.org/BashGuide
Also, a preliminary read of https://mywiki.wooledge.org/BashPitfalls https://mywiki.wooledge.org/BashPitfalls is advised.
Using shellcheck as a bash/shell linter is the ultimate. When you get a new warning, you can look up the code and learn why it's complaining.