bash is anti-bicycle: no matter how long you use, it trips you up. https://www.oilshell.org/why.html
Shell is great for one liners to run commands, cancerous for anything more complex. Fabric combines the best of both worlds: shell for one liners, Python for more complex logic https://docs.fabfile.org/en/2.6/getting-started.html#addendu...