Subject: Re: ksh bugs and behaviour questions
To: Julio Merino <jmmv@menta.net>
From: Roland Dowdeswell <elric@imrryr.org>
List: tech-userlevel
Date: 01/22/2003 22:59:04
On 1039640501 seconds since the Beginning of the UNIX epoch
Julio Merino wrote:
>

>A more specific question is... which is the reason of having two
>bourne shells, ksh and sh?

pdksh:	extended globbing, i.e. !(CVS) or !(*.gif|*.jpg)
	multi-session histories
	tab completion...

	i.e. user features.

sh:

	$ time sh -c 'for i in $(jot 10000); do /bin/echo -n; done' 
	   12.43s real     0.56s user     6.35s system
	$ time ksh -c 'for i in $(jot 10000); do /bin/echo -n; done'
	   19.32s real     1.78s user    11.91s system

	i.e. speed.

--
    Roland Dowdeswell                      http://www.Imrryr.ORG/~elric/