I am having a tough time finding and replacing a string using vi. Source String:
&DB2_PORT;/&DB2_DATA;
New String after replace:
&DB2_PORT;/&DB2_DATA;:tcp=true
I can find &DB2_DATA;
and replace it with &DB2_DATA;:tcp=true,
but that is not what I need to do.
Can someone please help me understand the appropriate ':s' command in order to achieve this replacement?