Whenever I start writing bash, if it goes beyond 50 lines I rewrite it in Python.
I really prefer to write no bash at all its so confusing.
I really prefer to write no bash at all its so confusing.
Recently I started using TS for scripting. Not the best, but Ammonite (a Scala scripting env) is a bit too big of a lift.
[1] -- https://google.github.io/styleguide/shellguide.html#when-to-...