Ask HN: How can I get better at bash?
How about you don't? Bash as scripting language is rather mediocre.Anything that is not simple in bash gets hard to read and debug and probably is wrong on some subtle levels.I have a rule of thumb that any shell script that grows beyond a screenful of lines gets redone in a proper scripting language.