> Because bash is thousand blades and no handle.
FTFY.
It really is absolutely terrible tool as programming language. If your script is more than "a bunch of pipes in a trench coat" just use something else. I'd unironically prefer Perl to it.
FTFY.
It really is absolutely terrible tool as programming language. If your script is more than "a bunch of pipes in a trench coat" just use something else. I'd unironically prefer Perl to it.
"Real" programming languages usually have painful-to-use APIs for calling commmands, redirecting output, piping one command to another, etc.