I have abc.sh:
abc.sh
exec $ROOT/Subsystem/xyz.sh
On a Unix box, if I print echo $HOME then I get /HOME/COM/FILE>
echo $HOME
/HOME/COM/FILE>
This may also can help input="inputtext" output="outputtext" sed "s/$input/${output}/" inputfile > outputfile