Thanks a lot for suggestions. I used the one from PHV and after I source my simple script the environment variables are all set to correct values.
Thanks again,
Mickey
Hi all,
I'm looking for help in writing a script that will extract environment variables names and values from a text file and set them in the current C-Shell using 'setenv' command. The text file has the following format:
# Comments start with # sign
VARIABLE_NAME_1 variable_value_1...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.