may I ask how to grep the last match of an occurence with the nlines after that in a file bash? The file looks like in the following,
it is Starting line1 line2 ERROR