On 9/16/07, Roger Marquis <[EMAIL PROTECTED]> wrote:
> Brandorr wrote:
> > ===Q: Why doesn't /bin/sh point to bash?===
> > A: Solaris uses the Bourne shell (/bin/sh) as the default system shell
> > to satisfy backward compatibility with historic releases of Solaris.
> > There is work being planned to replace the Bourne shell with a generic
> > POSIX compliant shell. Whether that is an updated bash running in
> > POSIX compatibility mode, or another shell such as ksh93 is still an
> > open question. Either option require additional coding resources to
> > implement.
>
> The default system shell, as specified in /etc/passwd, is used _only_ for
> command line access. As such it really should be something more modern than
> Bourne's sh.  The default script shell, OTOH, is and always has been
> /bin/sh.  Hard to see any case for changing that (from a posix-compliant
> version, not that I'm a fan of posix.  Few organizations have been as
> unfriendly to backwards-compatibility as posix).
>
> > ===Q: Why isn't bash the default system shell?===
> > A: There is a consensus building to use a modern/user-friendly default
> > system shell, such as bash or ksh93, but the integration and
> > compatibility changes required have yet to be done.
>
> A consensus for ksh? Among what audience?

Read the scope thread in http://mail.opensolaris.org/pipermail/indiana-discuss/

> Couldn't be the vast majority of
> potential OpenSolaris users, currently about running bash (90%) and tcsh
> (9%), in Linux and *BSD respectively.

Neither bash nor tcsh are POSIX shells. tcsh is even worse than bash
as all system scripts will break, bash just breaks 90% of them.

> The only real problem with ksh is that scripts written to it won't run on
> most other platforms.  Is there any *bsd or Linux that includes a ksh
> by default?

RH, Suse, Ubuntu, Mandrake and Debian ship ksh93 as /usr/bin/ksh by default.
>
> Reason for this is that the _most_ important feature of a programming
> shell is compatibility.  People who want advanced features use scripting
> languages like perl, python, and ruby, not shells.

Ah I think you still live in the 80' since you would've noticed that
it has floating point math, functions, multidimensional arrays and
much more. This isn't ksh88 anymore you may remember, we're talking
about ksh93.

>
> IMO, Sun's current market share (in the low single digits) is due to a
> persistent disregard for cross-platform compatibility.  Religious arguments
> aside, making ksh the default anything will only have a negative impact on
> compatibility, and market share.

So you suggest we should make tcsh the default shell and break
everything? You'd better troll elsewhere

Cheers,
William
-- 
    @,,@   William James
   (\--/)  [EMAIL PROTECTED]
  (.>__<.) GNU/Solaris hacker
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to