I have a file that has data something like
.spec.nodes.brokers.runtime.properties.broker.http.numConnections=15 .spec.nodes.clients.runtime.properties.broker.http.numConnections=17 .spec.nodes.servers.runtime.properties.broker.http.numConnections=19
I want to replace
I can manually do multiple sed, but I wanted to see if I can get it done by one sed using pattern matching.
Also, I cannot just directly sed and replace "runtime.properties" because there are other patterns that might match this keyword. I need something that matches
.spec.nodes.<one of brokers, clients or servers>,
.spec.nodes should only be at the start of the line, and not anywhere in the string.