|
|
|
|
|
by uriel
6194 days ago
|
|
> You can't get much more portable than bash. I was with you up to this point, bash is not portable, and it is a hideous shell. Any sane hacker writes all their scripts that are meant to be portable in standard bourne shell. Bourne is to bash as C is to C++. And people that put #!/bin/bash at the top of scripts that can be run by any bourne shell will burn in gnu/hell for the rest of eternity. |
|
I have yet to encounter a system where bash wasn't available, so yes I'd say it's quite portable.
You are right, though, it would be more consequental to run with vanilla bourne shell.
and it is a hideous shell.
Well, that's a holy war I'm not so interested in. In my opinion all shells are quite horrible. The idea is to pick the lowest common denominator and bash just happens to be the most popular of the bunch. Your chances of finding a working /bin/bash on any given system are still orders of magnitude higher than finding a working capistrano/fabric along with the corresponding ruby/python toolchain.
But again, I agree that if you're forced to deal with esoteric platforms then your chances of finding a working bourne shell are even higher than that.