I am tired of this sed :D So I have a small file:
version = "1.1"
group= "com.centurion.eye"
archivesBaseName = "eye"
impmet {
version = "4.1614"
runDir = "eclipse"
}
And here is my sed command:
sed -n -e '/version/ s/.* = *//p' "build.gradle"
And I need to get ONLY version 1.1. So when I execute this command, the output is:
"1.3"
"4.1614"
But desired one is:
"1.3"
How can I achieve that? Thanks!