I have a file which contains multiple occurrences of pattern "====". These patterns are followed by texts. I'd like to search for the last occurrence of the "====" pattern and print all the lines after the pattern. Any ideas on how to do it in bash? Combination of
==== First run of script End of first Script ==== 2nd run of script End of 2nd script ==== 3rd run of script End of 3rd script
Output of the command should look like below.
3rd run of script End of 3rd script