Hi,
Please could someone advise, how I can resolve this issue with my find and replace command :
perl -i -npe "s#RLM_LICENSE.*#RLM_LICENSE=$TEAM_TOP/licenses/abc.demo.lic#;" environment.properties
$TEAM_TOP is an environment varible within my system.
when i run this perl command from a script and check the environment.properties file. It displays the full path of $TEAM_TOP
e.g.
RLM_LICENSE=/team/dev6/data/REL1_TOP/licenses/abc.demo.lic
and
I would need it to show this instead :
RLM_LICENSE=$TEAM/licenses/abc.demo.lic
thank you