I\'m trying to write a bash script that increments the version number which is given in
{major}.{minor}.{revision}
For example.
<
Pure Bash using an array:
version='1.2.33' a=( ${version//./ } ) # replace points, split into array ((a[2]++)) # increment revision (or other part) version="${a[0]}.${a[1]}.${a[2]}" # compose new version