All I need is the Zip file name. In the first step I searched for the author:
egrep -ni -B1 --color "$autor: test_autor" file_search_v1.log > result1.log
whatever worked, the result was:
But, as mentioned above, the Ziip file name. In the second step I tried to filter the result of the first search again:
egrep -ni -B1 --color "$autor: test_autor" file_search_v1.log | xargs grep -i -o "\/[[:digit:]]]\.zip"
to search only for the filename, unfortunately this does not work.
My question. How should the second grep filter "look" so that I only get the zip file name?