
"unset" variables under ultrix bourne shell
Hi! I'm writing UNIX administration scripts and some will be
sourced. I don't want to leave any trace of them after they exit. On a
Sun (BTW, all my scripts are /bin/sh) I can unset a previously defined
variable with "unset VARNAME". How can I do this on a DEC/5000 (again
using /bin/sh)? I know I can "VARNAME=''" but if I run "set" from the
command line, I'll see "VARNAME=". (On the Sun, unset gets cleans the var
out of the environment.)
Thanks in advance. (E-mail and posted answers are fine.)
Jim