Hi All,
I am trying to write a shell script which firstly will search some files and then increase the port numbers mentioned in them by a certain no.
let me clear it with an example-
suppose there r few files a,b,c,d....
file a's content-
<serverEntries xmi:id="ServerEntry_1" serverDisplayName="server1" serverName="server1" serverType="APPLICATION_SERVER">
<specialEndpoints xmi:id="NamedEndPoint_1" endPointName="BOOTSTRAP_ADDRESS">
<endPoint xmi:id="EndPoint_1" host="stlhp59.amdocs.com" port="9810"/>
</specialEndpoints>
<specialEndpoints xmi:id="NamedEndPoint_2" endPointName="SOAP_CONNECTOR_ADDRESS">
<endPoint xmi:id="EndPoint_2" host="stlhp59.amdocs.com" port="8880"/>
file b's content-
<transports xmi:type="applicationserver.webcontainer:HTTPTransport" xmi:id="HTTPTransport_1218229086147" external="false" sslEnabled="false" sslConfig=
"amssManagerPS2-stlhp59/DefaultSSLSettings">
<address xmi:id="EndPoint_1218229086147" host="" port="32203"/>
</transports>
<transports xmi:type="applicationserver.webcontainer:HTTPTransport" xmi:id="HTTPTransport_1218229103919" external="false" sslEnabled="true" sslConfig="
amssManagerPS2-stlhp59/DefaultSSLSettings">
<address xmi:id="EndPoint_1218229103919" host="" port="32204"/>
there r few more files----
now i want to increase all the values of ports (only port and not transport n other port containing words) by 200.
can some one help.. how to get the above mentioned result