by Raja190 » Thu Mar 17, 2016 7:49 pm
hi Billy,
Thanks for posting the link, it was really help but... my requirement is to get N number of lines prior and after the search string and what "CHNGV" is pull lines prior and after when 2 files are compared and gets 3 lines prior and after the changed line. Hope this clarifies.
CHNGV 3
Lists up to 3 lines before and after change
Please let me know if any option is there for my requirement.