I'm trying to increment version number by .10, but also keep following zeros. Here is what i have:
printf '%s\n' '1.00' '1.50' '1.90' | perl -i -pe "s/\K.+/$&+0.1/e"
This returns:
1.1
1.6
2
But i want it to return:
1.10
1.60
2.00
Any tips on how to achieve that?