I have a results.txt file that looks like:
a.txt {some data} success!! b.txt {some data} success!! c.txt {some data} error!!
I want to extract data from it. I need a conclusion, for example:
a.txt: success b.txt: success c.txt: error
The problem is that the {some data} can be arbitrarily long.
How can I do that?
source share