troubleshooting Question

shell script / bat : how replace string having special chars using sed or other option in unix.

Avatar of mac_g
mac_gFlag for Saudi Arabia asked on
Unix OSLinuxWindows OSWindows BatchShell Scripting
26 Comments5 Solutions28 ViewsLast Modified:
how to replace string  below - example 
(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ngerard)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED
) (SID = orcl)))
with

(ADDRESS_LIST= 
  (FAILOVER=on)
  (LOAD_BALANCE=off)  (ADDRESS=(PROTOCOL=tcp)(HOST=host2a)(PORT=1630))
  (ADDRESS=(PROTOCOL=tcp)(HOST=host2b)(PORT=1630))) 
 how to simply this process using shell script or batch script 


Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 5 Answers and 26 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 5 Answers and 26 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros