grep command to add end line after every match

Viewed 29908

do you have any idea how to add some end line like

"=========================================================================================="

after every match

tail -f error.log -n 2000 | grep -B 10 -A 25 'Exception:'

this command prints all Exceptions log but i likes to see one seperator line for each exception log.

4 Answers
Related