On 5/11/07, Michelle Olson <Michelle.Olson at sun.com> wrote:
> Hi,
>
> Gueven Bay wrote On 05/10/07 01:38,:
>
> my proposal to make easy and fun to watch trainings(in multi-media form) for 
> free about (Open)Solaris makes full sense : The guy at work has not the 
> "power" to read all docs.sun.com but he will watch the training videos.
>
> enthusiastic +1
>
> As a leader of the Docs community, I could not agree more. I copy docs mail 
> list here. We can get a Project set up or I can get you a Wink template, 
> MikeP can you help here? --Let's throttle this critically important work.
>
> We have videos for install, zfs, dtrace, zones, and docbook, but that is it, 
> lots of room to grow and Docs community will fully support you in this 
> effort. It is priority #1 for me and I need your help. See 
> http://opensolaris.org/os/community/documentation/ for videos and 
> new-to-solaris info we have so far (these are not crappy presos you can't 
> hear or see, they rock) and we can start on your new list of future videos 
> right away:
>
> What is a Terminal?
> SUN coreutils and GNU coreutils: the differences
> So, you want to code the SUN libc from scratch, grrl?
> Coding scripts portable between GNU Bash and KSH

Scripts portable between bash and ksh? Why don't you go a step further
and demand that all scripts must be bash compatible and as next step
make it the default shell?

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 you
planned to integrate into Solaris includes a 64bit binary to deal with
more than 4GB of data.
Picking bash as default shell doesn't make sense and wrecks havoc
among your customers. First you promise them ksh93 and then deliver a
far less capable bash instead.

Bruno

Reply via email to