- OT - VIM - recording

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Is it possible in vim to do the following:

Search for this block of data:

        # Catalog Service 2.0 for uat03
        <LocationMatch "^/Services/?">
        PathPrepend /inquiryservices
        Cluster 172.21.1.1:999
        </LocationMatch>

And change Cluster 172.21.1.1:9999 to Cluster 172.21.1.2:7000

It needs to have uat03 (or 02, 01) on the line and this line
'PathPrepend /inquiryservices' for the Cluster to be changed.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux