On 6/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> If anyone wants to give this a go (or has core knowledge in a particular
> area), I'd certainly appreciate input on things like -

> Shells

a modern bash (3.x+) as default shell for new users would be great;
typically our local sysadmins all immediately run bash right after login
to get a shell with history, command completion, etc.  :)

ksh93 would be a better choice. Indiana wants to make it better and
that includes the default shell. ksh93 is superior in functionality,
performance and usability compared to bash.

A few numbers:
$ time bash -c 'i=0 ; s="" ; while [ $i -lt 10000 ] ; do i=$((i+1)) ;
s="$(echo ${s}x)" ; done'

real    1m40.230s
user    1m10.660s
sys     0m7.548s

$ time ksh93 -c 'i=0 ; s="" ; while [ $i -lt 10000 ] ; do i=$((i+1)) ;
s="$(echo ${s}x)" ; done'

real    0m11.947s
user    0m8.641s
sys     0m1.540s

ksh93 is much faster (10x) and has many features like arrays which
take strings as index, structures, floating point math, fully
implements and conforms the POSIX sh standard and the version which is
integrated into Solaris includes a 64bit binary to deal with more than
4GB of data. And Roland Mainz wrote a cool TAB completion feature
which makes bash look like the obsolete Bourne shell

Bruno
_______________________________________________
indiana-discuss mailing list
[email protected]
http://opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to