Re:Unix Shell Programming: The Next 50 Years
by rhn_mk1 on Sunday December 19, 2021 @08:30AM
(#29613772)
For me, anything that I couldn't write without a guide is too complex. Like a function. Or a conditional.
Subjectivity of what is complex is the problem here, which means that regular Bash users regularly write programs that are complex to me. And I'd much rather use something with less footguns, even if the good parts of the shell become less easy.
Re:Unix Shell Programming: The Next 50 Years
by johnvaluk on Sunday December 19, 2021 @11:18AM
(#29615090)
So true. The shell encourages one to reason about and simplify workflows by leveraging programs that already solve the complex problems. I'm continually amazed at how many lines of code I can replace with a Bash one liner.
Bash (and other shells) are very good at working with other programs and using the filesystem. It's true you have to know many idioms, but once you're there, you can be quite productive for these kinds of tasks.