1

Grepping text block by block by using for loop

view story
linux-howto

http://www.unix.com – Hei buddies, Need ur help once again. I have a file which has bunch of lines which starts from a fixed pattern and ends with another fixed pattern. I want to make use of these fixed starting and ending patterns to select the bunch, one at a time. The input file is as follows. Hi welcome blah blah blah blah blah blah Bye** Hi welcome blah blah blah blah blah blah blah blah blah blah Bye** Hi welcome blah blah Bye** Hi welcome blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah Bye** Hi welcome blah blah blah Bye** I tried using aw (HowTos)