Re: Set variable to null
1999-01-15 11:12:40
> 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
|
|
|