I have a file that looks like the following:
app.version.code=1
app.version.major=1
app.version.minor=0
app.version.buildnumber=0
I want to run a Perl script that will print out <app.version.major>.<app.version.minor>.<app.version.buildnumber>. In this case it would print out 1.0.0. I’m very very rusty with Perl right now and am having trouble creating a regex and script to give me this. Any ideas?
1 Answer