I once had the problem of extracting the environment variables from
startup-scripts written for a different type of shell into my shell.
I ended up starting the shell that the scripts were written for, then
instructing that shell to dump its environment. This dumped environment
was then read into my shell, reformatted and filtered (throwing out
irrelevant vars), and sourced/eval'ed to define them as local variables.
In my case that were csh-scripts which I imported into bash, but the
principle would be the same for bash -> tcl, or even cmd.exe -> tcl
If you tell us, what interpreter the intel scripts are intended for,
and if they contain just variable-setting statements, or also some
non-trivial processing in that language, we can give more specific help.
Posting a representative excerpt of the intel-scripts might help, too.
> I know it should be possible since I can append-path in the modulefile.
I don't understand this line, though. What is "append-path"?
So you're ignoring the replies you got ?
-Alex