how to source a csh script in bash to set the enviroment - Stack Overflow

how to source a csh script in bash to set the enviroment - Stack Overflow

瀏覽:368
日期:2024-09-02
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...看更多