Hi All,
    I have a script that set environment variables for 10 plus
configuration and each configuration share some environment variable and
have some different or specific environment  variables for a particular
configuration. I set the env variables before calling each thread, but I
notice that the environment variable inherits the previous
configurations environment setting.
Example:
configure 1:
set 11 variables

Configure 2:
set 10 variables, all of of configure minus 1 specific variable

But configure 2 has all eleven variables.

Is there a way to delete the environment variables before setting each
configuration?

I tried
undef (%ENV)
SETENV ();

but no luck?

Also, I read that environment variables in Linux are cached? If it true,
is there a way to clear the cache without rebooting the system?

Any ideas how I can delete all the environment variables before setting
them again for the next configuration?

thanks in advance.




     - - - - -                              Cisco                            - 
- - - -
This e-mail and any attachments may contain information which is confidential,
proprietary, privileged or otherwise protected by law. The information is solely
intended for the named addressee (or a person responsible for delivering it to
the addressee). If you are not the intended recipient of this message, you are
not authorized to read, print, retain, copy or disseminate this message or any
part of it. If you have received this e-mail in error, please notify the sender
immediately by return e-mail and delete it from your computer.

Reply via email to