🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1547

unsetting in Bourne shell

#1547
From: Brian Kenney
Date: Fri, 19 Oct 1990 13:16
12 lines
707 bytes
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@hsi.com 
3M Health Information Systems
Technical Details
Message-ID: <2353@hsi86.hsi.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!hsi!hsi86!kenney

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!hsi!hsi86!kenney
From: kenney@hsi86.hsi.com (Brian Kenney)
Newsgroups: comp.unix.shell
Subject: unsetting in Bourne shell
Message-ID: <2353@hsi86.hsi.com>
Date: 19 Oct 90 13:16:18 GMT
Distribution: na
Organization: 3M Health Information Systems, Wallingford, CT
Lines: 12