fork(1) download
  1. #!/bin/bash
  2.  
  3. s='Bundle-Version: 1.0.2'
  4. perl -pe 's/Bundle-Version:\s*\d+\.\d+\.\K(\d+)/$1+1/e;' <<< "$s"
Success #stdin #stdout 0.01s 5312KB
stdin
Standard input is empty
stdout
Bundle-Version: 1.0.3