3 points · by pcr910303 · 4y ago · 1 comment
I know it's hard. I get it. bash is convenient, and because it is, I have written more bash deployment pipelines, buildtools, utils, watchdogs, crons, etc. than I care to count.
But also, bash _is not a programming language_ outside of the technical definition. It is a command interpreter, and the reason why large shellscripts suck, is because they are written using a command-interpreter as a general purpose PL.
Have something larger than 40 LOC bash? rewrite it using an actual programming language.