Why? My assumption, that this is for testing future changes in Solaris. Without doing shell script execution speed testing, I don't think this is a good idea.
Keep in mind also that sh is also a smaller binary than ksh and bash. (By over a factor of two in the case of ksh93, and a factor of 6 in the case of bash). (In Ubuntu they now are moving away from using bash as sh, and use a shell called dash (the Debian Almquist Shell), which is a stripped down, bourne shell like shell that aims to simply be a Posix shell with a minimum of bells and whistles.) Interesting reading regarding changing /bin/sh in a Linux distro and the thoughts that went into it: https://wiki.ubuntu.com/DashAsBinSh More info on ash/dash http://en.wikipedia.org/wiki/Almquist_shell Keep in mind our sh is still actively being developed, with recent work starting to improve execution speed via the inclusion of dtrace probes. Cheers, -Brian P.S. - It seems that Linux distros are coming around full circle to the way Unix/Solaris pioneered. No longer does bash==/bin/sh On Jan 28, 2008 1:40 AM, <[EMAIL PROTECTED]> wrote: > Author: [EMAIL PROTECTED] > Repository: /hg/pkg/gate > Latest revision: 08af9ffa56675c1754926bc3418f6b24910fe988 > Total changesets: 1 > Log message: > 142 Replace /sbin/sh with ksh93 > 392 changes needed to account for latest FOX bits > 403 all.i386 files are out of date > 404 resync repository to snv_79b > > Files: > create: src/util/distro-import/79b/SUNWfixes.pkginfo > create: src/util/distro-import/79b/SUNWfixes.prototype > create: src/util/distro-import/79b/all.i386.79b > create: src/util/distro-import/79b/auth_attr > create: src/util/distro-import/79b/devlink.tab > create: src/util/distro-import/79b/exec_attr > create: src/util/distro-import/79b/generic_limited_net.xml > create: src/util/distro-import/79b/generic_open.xml > create: src/util/distro-import/79b/hba.conf > create: src/util/distro-import/79b/hosts > create: src/util/distro-import/79b/ima.conf > create: src/util/distro-import/79b/master > create: src/util/distro-import/79b/menu.lst > create: src/util/distro-import/79b/mpapi.conf > create: src/util/distro-import/79b/prof_attr > create: src/util/distro-import/79b/redist_cluster > create: src/util/distro-import/79b/services > create: src/util/distro-import/79b/slim_cluster > create: src/util/distro-import/79b/splash.xpm.gz > create: src/util/distro-import/79b/sshd > create: src/util/distro-import/79b/user_attr > create: src/util/distro-import/common/FSWfontconfig-devel-docs.79 > create: src/util/distro-import/common/FSWxorg-client-programs.79 > create: src/util/distro-import/common/FSWxorg-data.79 > create: src/util/distro-import/common/FSWxorg-headers.79 > create: src/util/distro-import/common/FSWxwrtl.79 > create: src/util/distro-import/common/SUNWfontconfig-docs.79 > create: src/util/distro-import/common/SUNWfreetype2.79 > create: src/util/distro-import/common/SUNWman.79 > create: src/util/distro-import/common/SUNWscp.79 > create: src/util/distro-import/common/SUNWxorg-headers.79 > create: src/util/distro-import/common/SUNWxorg-server.79 > delete: src/util/distro-import/79/SUNWfixes.pkginfo > delete: src/util/distro-import/79/SUNWfixes.prototype > delete: src/util/distro-import/79/all.i386.79 > delete: src/util/distro-import/79/auth_attr > delete: src/util/distro-import/79/devlink.tab > delete: src/util/distro-import/79/exec_attr > delete: src/util/distro-import/79/generic_limited_net.xml > delete: src/util/distro-import/79/generic_open.xml > delete: src/util/distro-import/79/hba.conf > delete: src/util/distro-import/79/hosts > delete: src/util/distro-import/79/ima.conf > delete: src/util/distro-import/79/master > delete: src/util/distro-import/79/menu.lst > delete: src/util/distro-import/79/mpapi.conf > delete: src/util/distro-import/79/prof_attr > delete: src/util/distro-import/79/redist_cluster > delete: src/util/distro-import/79/services > delete: src/util/distro-import/79/slim_cluster > delete: src/util/distro-import/79/splash.xpm.gz > delete: src/util/distro-import/79/sshd > delete: src/util/distro-import/79/user_attr > delete: src/util/distro-import/common/SUNWgnome-remote-desktop.78 > update: src/util/distro-import/75a/all.i386.75a > update: src/util/distro-import/Makefile > update: src/util/distro-import/all.i386 > update: src/util/distro-import/common/SUNWcs.79 > update: src/util/distro-import/common/SUNWman > update: src/util/distro-import/common/SUNWscp > update: src/util/distro-import/common/SUNWxwhl > _______________________________________________ > pkg-discuss mailing list > [email protected] > http://mail.opensolaris.org/mailman/listinfo/pkg-discuss > -- - Brian Gupta http://opensolaris.org/os/project/nycosug/ _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
