 |
how to source a csh script in bash to set the enviroment - Stack Overflow
How about just defining a function called setenv, like so setenv() { echo setting $1 to $2 export $1=$2 } and then sourcing the .cshrc file. When I do this in bash, I get [dws@oxygen ual-read-only]$ source cshrc setting ORACLE_SID to TEST setting ORACLE_H
stackoverflow.com |
 |