3 ms·
Let's take a moment to remember, that while bash is good, there are other shells out there as well. UNIX is great in that it offers a choice, and we should not
by jwr 6y ago
Let's take a moment to remember, that while bash is good, there are other shells out there as well. UNIX is great in that it offers a choice, and we should not lock ourselves into a shell monoculture (similarly to how a web browser monoculture is bad for everyone in the end).
Some of us believe rather strongly that tcsh is way better, some of us prefer zsh, and that's fine!
It's a good idea to take a look at other shells, at least to know what's out there and to make an educated choice, rather than use "what most people use".
So, next time you write a script or instructions, please remember that not everyone uses 'export', and also that not every /bin/sh is a bash.
- yodsanklai 6y ago> rather than use "what most people use". I personally prefer using what most people use. It may not be perfect, and I may be miss a few nice features, but I find myself more productive this way
- jwr 6y agoGreat! And you should have that choice. We should all have a choice, which was precisely my point.
- e12e 6y ago> Some of us believe rather strongly that tcsh is way better, some of us prefer zsh Those people are wrong, though ;p In all seriousness, one should look around and try a few. As a linux/Unix shell i like bash - it's posix enough that you can write posix-ish scripts (might have to run on ksh/bsds) - and these days it has good completion and other niceties. And unless you make an effort, it doesn't colorize everything to the point that it looks like your user land threw up on your terminal. Other worth looking at IMNHO ibnclude rc from plan9, fish and oilsh. And maybe dash for a small runtime for scripts.