See following example:

$ echo ${.sh.version}
Version jM 93u 2011-02-08
$ x=123
$ function x.unset { return; }
$ echo x=$x
x=123
$ unset -v x
$ echo x=$x
x=
$

But according to the ksh manual, "If  the unset discipline is defined for a
variable, ... The variable will not be unset unless it is unset explicitly
from within this discipline function."
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to