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

Roland Mainz roland.mainz at nrubsig.org
Thu May 4 19:09:29 PDT 2006


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
# use builtin
% getconf
-- snip --

----

Bye,
Roland

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



More information about the ksh93-integration-discuss mailing list