> /bin/sh -c 'print ${.sh.version}'
> /bin/sh: bad substitution
>
> I hoped Indiana would improve things and deliver the ksh 93 as
> /bin/sh, but no, it is just the same bourne shell as in Solaris. No
> improvement. Indiana doesn't improve things for developers.
Actually I had hoped to explore replacing /bin/sh with ksh93 in the
preview release but I ran out of time with all of the other things that
needed to be done. It's certainly something that is worth exploring
but please remember that just pontificating about what OpenSolaris
should be doesn't really help steer the technology. Rolling up ones
sleeves, contributing analysis of the various shell's strengths and
weaknesses and contributing code is the surest way of seeing your
choices made available.
Please also see Dave Miner's excellent blog post
http://blogs.sun.com/dminer/entry/why_indiana_uses_bash
> The choice for /bin/bash as user shell for 'Jack' and 'root' is a SHAME.
I disagree - for interactive purposes, it appears that bash is the most
common shell used in other open source operating systems so being
compatible with that makes a huge amount of sense. For scripting
purposes though, I'm much more in favor of being compatible with
standards such as POSIX and so ksh93 makes more sense there.
dsc