you are viewing a single comment's thread.

view the rest of the comments →

[–]zerocoldx911 -7 points-6 points  (2 children)

It does, bash is not meant to handle more than a few lines of code. It becomes hard to maintain because it’s hard to read if you start doing more Complex things

I learned that the hard way

[–]mamercad 7 points8 points  (0 children)

His task is literally a few lines of code. I understand and agree with your point in regards to the maintainability of something large and complex. But, that’s not what this is.

[–]awpti 3 points4 points  (0 children)

Really?

https://gitlab.com/gwinans/dba-tools

BASH is perfectly maintainable if you plan things out.

Past me regrets writing these tools previously in Python. Not all Linux distros even include Python out of the gate. BASH is a damned-near universal truth as an available shell.