From owner-freebsd-questions Sat Jul 18 19:40:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA22720 for freebsd-questions-outgoing; Sat, 18 Jul 1998 19:40:24 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from pobox.com (fornax-120.mdm.mke.execpc.com [169.207.83.248]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id TAA22712 for ; Sat, 18 Jul 1998 19:40:20 -0700 (PDT) (envelope-from hamilton@pobox.com) Message-Id: <199807190240.TAA22712@hub.freebsd.org> Received: (qmail 5736 invoked from network); 18 Jul 1998 21:42:00 -0500 Received: from localhost (HELO pobox.com) (127.0.0.1) by localhost with SMTP; 18 Jul 1998 21:42:00 -0500 To: Greg Lehey cc: FreeBSD Questions Subject: Re: Unsetting exported environment variables? In-reply-to: Your message of "Sun, 19 Jul 1998 10:33:09 +0930." <19980719103309.J957@freebie.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 18 Jul 1998 21:42:00 -0500 From: Jon Hamilton Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <19980719103309.J957@freebie.lemis.com>, Greg Lehey wrote: } That was the confusion. I didn't know that there was an unset command } in the Bourne shells as well. I'm rather surprised that you didn't manage to turn this up on your own, though; since it's a shell question, I would think it would be obvious to look in the shell's man page. From the sh(1) man page on a -stable system: unset name ... The specified variables and functions are unset and unexported. If a given name corresponds to both a variable and a function, both the variable and the function are unset. I know you already found the answer; I'm just marveling that you asked the list in the first place. -- Jon Hamilton hamilton@pobox.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message