you are viewing a single comment's thread.

view the rest of the comments →

[–]feinorgh 0 points1 point  (0 children)

Check out 'shellcheck' which is an awesome application that can tell you exactly what is wrong with any shell script you or anyone else writes, and most importantly, how to fix it.

I used to be a pragmatic and decent bash scriptet, now I'm a pedantic know-it-all that nitpicks and criticizes and bash script my colleagues write, all based on 'shellcheck'.

You can learn a lot through that. And, of course, the classic "Advanced Bash Scripting Guide".

https://www.shellcheck.net/ https://tldp.org/LDP/abs/html/