I have a XML file that has a version number in the following format:
<Product Id="*" Name="Name" Language="1033" Version="1.2.3.4">
I want to find the last number in the version string (i.e. "4" in this example) and then increment it by one - replacing it in the file. Ideally using simple bash commands (AWK?).
1.2.3.9should become1.2.4.0?1.2.3.9->1.3.0.0)?