When you source a file in the shell, that actually does what you want -- it doesn't create a sub-shell, but interprets the file in the current shell, allowing it to change the environment. That's unlike running the script as an executable, which does fire up a new shell process, which is unable to change the environment of its parent. So source sge_sigma.csh should do what you want.
Aaron B.
My Woefully Neglected Blog, where I occasionally mention Perl.
In reply to Re: Environment Variable Setting
by aaron_baugher
in thread Environment Variable Setting
by austinj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |