The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
How to replace string $str1_str2_str3_str4$ to 12.345.65.234
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
How to replace string $str1_str2_str3_str4$ to 12.345.65.234
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
02-06-2007
venkatba
Registered User
Join Date: Feb 2007
Posts: 3
Thanks for the quick reply.
I tried the following command:
cat web.xml |
sed
-e 's/'$'BACK_OFFICE_URL_IP'$'/10.203.13.130/' > web_sed.xml
but it replaced the string with ip address but the $ 's still there.
Thanks for your help
venkatba
View Public Profile
Find all posts by venkatba
Find venkatba's past nominations received
Find venkatba's present nominations given