Casper.Dik at Sun.COM wrote:
> >cc:  james.d.carlson at sun.com
> >Subject: Re: Re: [ksh93-integration-discuss] Re: Patch to introduce "oksh" 
> >to  OS/Net
> >--------
> >
> >Could someone explain the problem with libc/wordexp() that requires
> >the old ksh?
> >
> >Why not just modify libc/wordexp() so that is uses the new ksh?
> >The ast version of worexp() uses ksh93.  Why can't libc/wordexp()
> >use the same method?
> 
> It needs to be modified not to run a shell at all.  Why does it
> need to run a shell?

AFAIK it doesn't. And there is libast which also provides a |wordexp()|
function - however that requires first that libast is available in the
system.
My plan for |wordexp()| in OPenSolaris looks like this:
1. Rename Solaris ksh to /bin/oksh and adjust |libc::wordexp()| to use
/bin/oksh. This is needed that people can _safely_ replace /bin/ksh with
ksh93 for tesing.
2. Introduce ksh93 and all required libraries (e.g. libshell, libdll,
libcmd and libast)
3. Figure out how to deal with |libc::wordexp()|, likely via using
|libast::wordexp()|

The idea behind the plan is to do a smooth transition without blowing up
anything between the steps.

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)

Reply via email to