#!/bin/bash s='Bundle-Version: 1.0.2'perl -pe 's/Bundle-Version:\s*\d+\.\d+\.\K(\d+)/$1+1/e;' <<< "$s"
Standard input is empty
Bundle-Version: 1.0.3
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!