I have an xml file that consists of strings
<server name="srv-usr--crt-Internal.vcdn--lfagent1">
and
<server name="srv-usr--crt-Internal.vcdn--lfagent2">
^^^^^^^^
I want to run a bash script, which continuously executes the xml file by changing the value in the server name i.e for the first time the values will be lfagent1 and lfagent2, the xml file is executed and then the value changes to lfagent3 and lfagent4. There should be around 500 to 1000 such iterations.
How to write a bash script for this test?
serverentries within the file -- if there's a different XPath path to each.