[ksh93-integration-discuss] Re: Re: [ast-users] Is it legal to use % builtin -f $0 getconf # to restore a deleted builtin ?

David Korn dgk at research.att.com
Mon May 8 07:13:34 PDT 2006


> I hit a similar problem recently, however the proposed solution does not work:
> ms:> ksh
> ms> builtin -d vmap
> ms> builtin vmap
> builtin: vmap: not found
> 
> Maybe commands built into the ksh binary itself cannot be restored that way.

If ksh93 is built statically and you delete a built-in, then you
need to specify the shared library to load to find the builtin.

For example,
	builtin -d vpath
	builtin -f shell vpath

The -f shell will load in the dynamic shared library libshell and find
the entry point there.

David Korn
dgk at research.att.com



More information about the ksh93-integration-discuss mailing list