Subject: Setting enviroment variables in a shell script
Keywords: environment variables shell script
Message-ID: <35774@sales.GBA.NYU.EDU>
Date: 24 Jan 93 16:28:25 GMT
Organization: NYU Stern School of Business
Lines: 5
How do you set an environment variable in a C-Shell script? I tried
setenv enviroment_variable value, but as soon as the script finishes, the value of the varialbe is reset to its original value. My guess is that another "process" is created during the run of the script and when the script is done, that process is killed. Is there a way to set environment variables in a shell script? Thanks.
Please post responses to this newsgroup or email to elouie@sales.stern.nyu.edu