Hello,
I need help in extracting lines that meets following criteria
Grep for a particular word and return line before it, the line that has that word, and line after that
:::::::::::::::::::::::::
Subject
Hi there
My name is Jak
My last name is XYZ
Home Address
::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::
If i grep for Jak the output should give
Hi there
My name is Jak
My last name is XYZ