I want to find a string in a line of text and print the string (between spaces) and the first word of the phrase.
For example:
"This is a single text line" "Another thing" "It is better you try again" "Better"
The list of strings is:
text thing try Better
What I am trying is to obtain a table like this:
This [tab] text Another [tab] thing It [tab] try Better
I tried with grep but nothing occurred. Any suggestion?