I think we should really be working to deprecate large bash scripts. If you write enough to care about code quality you might want to just use Python.

I'd say look at things like Oil(Is that project ever going to be the next big thing like it claims?).... but writing large scripts in ANY shell doesn't seem like the best plan.

What about an Ansible linter? Do those exist? I'm starting to suspect Ansible might be a better choice for a lot of what people do with bash, even if you are running om a desktop.

Where do you draw the line as "large"?

I just threw out a few hundred lines of Python in exchange for ten lines of bash script + cron job to automate nightly app updates. Way easier to get working, way less painful to debug.

I grant, however, that it's not particularly large. What is?

What Python is to Java, Bash is to Python.

Many simple file and data munging tasks can be done on cli 100x faster with 10x less code than Python, using rudimentary bash-fu.

I already see a wave of Python undoing in the data world. Python becoming the cobol of this field.

I just learned about rev; rev plus cut could have saved me years of writing one off Python scripts to cut out the exact variable I need, haha

rudimentary bash-fu

I wish there were some guides on how to get past rudimentary bash-fu. My bash text munging is still pretty rudimentary. I'd love to get to journeyman text smash status.

You might want to check out 'hck' to replace 'cut'.

https://github.com/sstadick/hck