in reply to Re: header footerin thread header footer
Oups, indeed.
Well then maybe setting the input file separator ($/) to "HDR" would work then.
Or s/HDR.{47}|FTR.{27}//g;, but it doesn't appeal much to me.