nv-l

Re: Set variable to null

1999-01-15 11:12:40
Subject: Re: Set variable to null
From: Thomas Seidel <seidelt AT DBF.DDB DOT DE>
To: nv-l AT lists.tivoli DOT com
Date: Fri, 15 Jan 1999 16:13:40 +0001
> 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 AT dbf.ddb DOT 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>