On 5/6/06, Martin Schaffstall <martin.schaffstall at googlemail.com> wrote:
> On 5/6/06, David Korn <dgk at research.att.com> wrote:
> > Subject: Re: [ast-users] Is it legal to use % builtin -f $0 getconf # to 
> > restore  a deleted builtin ?
> > --------
> >
> > > Hi!
> > >
> > > ----
> > >
> > > Just curious: Is it legal (and/or recommended) to "restore" a previouly
> > > deleted builtin like this:
> > > -- snip --
> > > # delete builtin
> > > % builtin -d getconf
> > > # do something
> > > % getconf
> > > # restore builtin using $0 as library
> > > % builtin -f $0 getconf
> > just use
> >         builtin getconf
> > The library that contains getconf is already loaded.  $0 is not the
> > name of a library.
>
> 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
I forgot to quote: This is Suse Linux 10.1 beta2
--
     //   Martin Schaffstall
    //    EMail: martin.schaffstall at googlemail.com
\\ //
 \X/

Reply via email to