On 8/2/06, Josh Hurst <joshhurst at gmail.com> wrote:
> On 7/28/06, April Chin <April.Chin at eng.sun.com> wrote:
> > I would prefer any proposed /usr/bin/sh migration be a follow-up
> > to /usr/bin/ksh migration.  Changing /usr/bin/sh may prove more difficult 
> > but
> > then again the /usr/bin/ksh work may pave the way.
> OK
>
> But I'd like to propose the creation of a script which allows root to
> switch the shell versions of /bin/ksh between ksh88 and ksh93. In my
> opinion it would be the perfect compromise.

This proposal misses lots of details needed for an implementation:
Should the tool be part of Solaris, only Opensolaris or just a script
which can be called once as part of a jumpstart profile? How should
the script be called? kshswitch? shellswitch?

Maybe it should work like this:

$ kshswitch
Prints the status of /bin/ksh and which version is linked here.

$ kshswitch -88
Changes /bin/ksh to the old Solaris version of ksh (the name -88 is
misleading but Sun's ksh has no official nickname and -88 is close
enough)

$ kshswitch -93
Changes /bin/ksh to ksh93

$ kshswitch -toggle
Swaps the version of /bin/ksh

Irek

Reply via email to