Hi,
I have the following records in input file:
Keka
subbu
naresh
naveen
naveen
subbu
subbu
subbu
jaffa
naveen
subbu
katrina
naresh
naveen
subbu
naresh
naveen
jakia
i want the output file having only groups starting with 'subbu' ending with 'naveen' and in between only single 'naresh'.
subbu
naresh
naveen
subbu
naresh
naveen
could you please help?!