3 ms·
The problem is that we're still using these ancient shells when we have better ones. Users shouldn't be wasting time memorizing arcana like "set -e". At least
by esafak 3y ago
The problem is that we're still using these ancient shells when we have better ones. Users shouldn't be wasting time memorizing arcana like "set -e". At least we have search engines now...
- hiAndrewQuinn 3y agoI'm quite partial to the fish shell myself for this reason. But I SSH into a lot of embedded systems these days, where you don't exactly have the luxury of installing your own shell all the time. For those times I like to whip out the "minimal safe Bash template" and `sftp` it to the server. https://betterdev.blog/minimal-safe-bash-script-template/ https://betterdev.blog/minimal-safe-bash-script-template/
- theshrike79 3y agoWhen the shell script is that long, I reach for Python or Go instead pretty fast =)
- imp0cat 3y agoAu contraire, bash/sh is pretty much everywhere. Also, we have ChatGPT now. That helps a lot.