I’m going to say something … and it might trigger folks
Learning and getting good at shell scripting is something that takes a while usually. I would recommend that people new at shell scripting actually try to use Python instead writing shell scripts where possible.
I’ve seen people not use traps, not know when to use set properly, xargs if you don’t know what you’re doing with it is just a giant foot cannon, and folks new at shell scripting don’t know how to debug running shell processes.
They may have learned some or all of these things for python?(please? )
The more I learn about shell, the less I reach for it for automation scripts, even ones that mainly exist just to shell out to other binaries. I have written a lot of shell in my life, and it turns out (with 20/20 hindsight) that almost all of it was atrociously dangerous and brittle because there are so many ways to screw it up and I didn't know most of them at the time (and still probably don't!).
happyPersonR · · focus · HN ↗
Learning and getting good at shell scripting is something that takes a while usually. I would recommend that people new at shell scripting actually try to use Python instead writing shell scripts where possible.
I’ve seen people not use traps, not know when to use set properly, xargs if you don’t know what you’re doing with it is just a giant foot cannon, and folks new at shell scripting don’t know how to debug running shell processes.
They may have learned some or all of these things for python?(please? )
ElevenLathe · · focus · HN ↗