so... I have a sort of rule for scripts I write.
shell - simple scripts of a low size/complexity
readable.
exceed that and I switch to python. Right off the bat, argparse and os.path make so many things reliable/secure/better.
Thing is, some of my coworkers don't know linux, so AI writes their scripts.
When I'm consulted on a review, it is pages and pages of shell scripts.
It is not easily readable stuff. There are lots of obscure/advanced bash features, like "if [[", and arrays and set (wierd option) and more...
I have to slog through it like I'm reviewing 100m of dense line noise. I despair. Even reading the CRC handbook or war and peace would be more pleasurable.
And in the end it is like reading a hostile privacy policy that I am obliged to accept.