Subject: [Sipping] OFF-TOPIC : stripping headers from TXT I-D's

From: "Banibrata Dutta" <[email-masked]>
Date: Thu, 19 Feb 2004 10:29:23 +0530

hi,
 
many of the I-D's submitted have header/footers cutting accross a
diagram in many text files.
this is not desirable many a times, for e.g. when i want to take a
hard-copy for future reference,
it's always easy reading if the full diagram or table fits one page and
not split of 2 (unless it's
unavoidable because of it's size).
 
so, won't it be better to add this as a guideline to I-D submitters i.e.
the pagination takes
care of this (although i've not idea how to do it, as the pagination
program is not that smart
unless it's modified to identify pre-existing ^L's and take that as
page-breaks.
 
finally, i doubt that the above wish would be fulfilled anytime soon, so
wanted to ask if there's
a way to remove the headers/footers smartly, i.e only the 2/3/4 lines
added by a header/
footer are removed, and all other blank-lines / white-space containing
lines are not touched.
a multi-line search-replace is what is required.

thanks & regards,
Banibrata Dutta
  Hewlett-Packard ISO Pvt. Ltd,
  29, Cunningham Road,
  Bangalore - 560052, India.
  Tel: +91-80-22051796