[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unsetting an environment variable
From: |
Sergei Steshenko |
Subject: |
Re: unsetting an environment variable |
Date: |
Sat, 19 May 2012 16:29:42 -0700 (PDT) |
----- Original Message -----
> From: Jordi Gutiérrez Hermoso <address@hidden>
> To: Francesco Potortì <address@hidden>
> Cc: Octave users list <address@hidden>
> Sent: Sunday, May 20, 2012 1:01 AM
> Subject: Re: unsetting an environment variable
>
> On 19 May 2012 17:33, Francesco Potortì <address@hidden> wrote:
>> I use Octave 3.2. I cannot seem to find a way to unset an environment
>> variable, and the manual does not help. Is that possible?
>
> setenv(X,"")?
>
> - Jordi G. H.
>
It is _not_ unsetting in the sense of making the variable non-existent in the
table of the process environment variables, it's just setting the variable to
have empty string value.
Regards,
Sergei.