unsetting in Bourne shell

Brian Kenney kenney at hsi86.hsi.com
Fri Oct 19 23:16:18 AEST 1990


How does one unset an environment variable in the Bourne shell?

Since I normally use the K shell, I expected unset to work. Nope.
I then tried export VAR="".  While it did remove its value, the
variable still existed.  I tried RTFM to no avail.

Thanks in advance...

-bri
-- 
Brian Kenney                                                   kenney at hsi.com 
3M Health Information Systems



More information about the Comp.unix.shell mailing list