Well, maybe, but supporting such a switching script means all
scripts starting with
#!/bin/ksh must remain portable between ksh88 and ksh93.
And scripts which want to use new ksh93 features will
need to start with #!/bin/ksh93. I suppose that will happen
anyway after /usr/bin/ksh93 gets integrated, but I don't necessarily
want to reinforce that behavior after ksh93 migrates to /usr/bin/ksh.
Ultimately, I think we want to try to obsolete ksh88, and
a switching script could end up being a crutch that prohibits the
full migration to ksh93.
April
> DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-
transfer-encoding:content-disposition;
b=BfErMSxCZLJN++pM6K6C+apCWi4flb0aARky2k5vLhobU4SUFlEIE0+cTpK42BS0jlAuI2mO1JunAR
NMSMGCYAQlprRVwt5XdPLXE4iMG0FWCnp1z0MpCuvrxe8J6Hk3aqcjTgxmSFNUXyi0EU4BgA6PtYtzb5
wG28r1JCpQLdA=
> Date: Wed, 2 Aug 2006 10:46:58 +0200
> From: "Josh Hurst" <joshhurst at gmail.com>
> To: "April Chin" <April.Chin at eng.sun.com>, "Korn Shell 93
integration/migration project discussion"
<ksh93-integration-discuss at opensolaris.org>
> Subject: Proposal: ksh version switch script (was: Re:
[ksh93-integration-discuss] Extending Makefile.ksh93switch for /bin/sh?)
> Cc: martin.schaffstall at googlemail.com, roland.mainz at nrubsig.org
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> 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.
> --
> Josh