are we going to get a better bash at one point? I've always felt like the only thing bash scripts are good at describing is I/O redirection. But conditionals, dealing with variables, pretty much everything else is frustrating and error-prone
I use fish as my main shell and its slightly better, but just testing things on variables can be a huge mess.