I have a string in the format `foo="is a first one" foo1="is a second one" foo3="is a third one" and many fields like the said pattern. I want to parse this and have o/p as
foo foo1 foo3
is a first one is a second one is a third one
Any help is greatly appreciated.
awk, I'd recommend you move to perl rather than do this in the shell. It's quite simple there.