[CentOS] - OT - VIM - recording
Julian Thomas
jt at jt-mj.net
Tue Jul 14 21:27:16 UTC 2009
On Tue, 14 Jul 2009 17:07:38 -0400 Ed Donahue wrote:
>
>
>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
If I were tackling this, I'd start with awk
--
Julian Thomas: jt at jt-mj.net http://jt-mj.net
In the beautiful Genesee Valley of Western New York State!
-- --
"Meddle not in the affairs of Dragons,
for thou art crunchy and taste good with ketchup."
[stolen from somewhere else]
More information about the CentOS
mailing list