in reply to Re^2: header footer
in thread header footer
so am i missing something in thinking that
read line by line
check if pattern HDR exists - cut from end of header to rest of line and > outfile
rest of lines > outfile
keep going till find pattern > FTR - cut from FTR to end of line > outfile
would this not work?
In Section
Seekers of Perl Wisdom