nv-l
[Top] [All Lists]

Re: Set variable to null

To: nv-l@lists.tivoli.com
Subject: Re: Set variable to null
From: Thomas Seidel <seidelt@DBF.DDB.DE>
Date: Fri, 15 Jan 1999 16:13:40 +0001
Comments: Authenticated sender is <seidelt@poppix.dbf.ddb.de>
In-reply-to: <852566FA.00522533.00@MetMtaG2.metlife.com>
Organization: Die Deutsche Bibliothek
Reply-to: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
Sender: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
> I'm a true rookie when it comes to writing scripts.  Could somebody please
> tell me how to set a variable, in a script,  to null, after its been
> previously set to a value?    Thanks.................Lucy

Assuming, you mean scripts for AIX ;-)

'unset variable' removes "variable" from the current environment.
BTW, 'variable=""' sets variable to an empty string.

Thomas
--

Dipl.-Inform. Thomas Seidel
ATM network & UNIX
Die Deutsche Bibliothek
E-Mail:     seidelt@dbf.ddb.de
Voice-Mail: +49-69-1525-1733
Fax-Mail:   +49-69-1525-1799
Snail-Mail: Adickesallee 1, D-60322 Frankfurt/Main

43rd Law of Computing: Anything that can go wro @.#%
fortune: segmentation fault, core dumped

<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web