i have written an awk command:
awk -F: '$1=="tag" {print $1;}' setup.py
I want to print everything after tag in quotes.
Sample input:
import tools
tools.setup(
name='test',
tag="0.0.8",
packages=tools.ges(),
line xyz
)
Output:
0.0.8
I was trying to output everything after tag but I can't even get that to work.