Oct. 6, 2013
8:48 p.m.
Alan Barrett wrote:
Why do we care? Solaris has /usr/xpg4/bin/sh, and /bin/ksh.
... not to mention /usr/dt/bin/dtksh. But in the past these implementations have had annoying bugs when running shell scripts, and I'd rather not rely on them. /bin/sh, with all its shortcomings, is better tested. (In my experience /bin/bash is more reliable than /bin/ksh on Solaris but it is not always installed.) If it were a major porting hassle I'd insist on ksh/bash/whatever, but here the hassle is minor and /bin/sh suffices.