I need to find a particular pattern starting with 'abc.url.path=' and replace it with 'abc.url.path=https\://hostname.server.com.in\:8080/new'.
I tried the following:
sed -i "s/^abc.url.path=.*$/application.url.path=https/\://hostname/\:8080/new/" hello.txt
This gives me a sed character error. Please note I have tried using different delimeters. It does not solve the issue. I think I am missing the backslashes. I have also edited the details to highlight the exact issue.
Any help will be highly appreciated.