Help !!
First, Thanks in Advance
Here is what I have
I have an environment Variable, let's call it v_VALUE.
v_VALUE="\$ORACLE_HOME/bin" Hence, the location is ORACLE_HOME is not evaluated. ORACLE_HOME happens to be /app/oracle/product/10.1.2
I need a method of returning the evaluated string.
I tried
v_VALUE="\$ORACLE_HOME/bin"
v_EVALUATED=`eval $v_VALUE`
I want v_EVALUATED to contain /app/oracle/product/10.1.2/bin
I'm trying to create a generic script and the value of ORACLE_HOME is dynamic and will be contained in a config file, hence, the need to evaluate on the fly
Thanks !!