Are you annoyed by all the weird error handling characteristics of bash? You might wish to take a look at https://skarnet.org/software/execline/index.html or, if you desire compatibility, https://www.oilshell.org/
@robryk Cool stuff, but kinda seems to miss the point of most people using (to a lesser extent ba)sh -- it's everywhere. If you assume you can install arbitrary software then Python is already kinda an acceptable scripting solution, innit?
@robryk Hm, fair. Still, it's a very (surprizingly) niche usecase I feel.