Hi,
I have a file 't.env' as follows:
Code:
ORACLE_BASE=/opt/oracle/
ORACLE_HOME=$ORACLE_BASE/bin/forms
How do I replace "$ORACLE_BASE/bin/forms" with my own string using sed?
In sed I used this:
sed -e 's/ORACLE_HOME/ORACLE_HOME=\/opt\/osmf\/config\/env/g' t.txt > t1.tx
But this replaces ORACLE_HOME & not the value after '='
Thanks