I am trying to append line containing search string and the next line along with the file name. But it is only doing for the first occurrences and after that it searched fir the string but do not append the enxt line.
I have tried removing some lines but did not worked