Page 1 of 1

remove headers from anytotx

Posted: Thu Apr 06, 2006 5:24 pm
by basement_addict
Is there a flag that will not display the headers at the top of the file when running anytotx?

example:

Content-Type: text/plain
Content-Transfer-Encoding: 8bit
X-Input-Content-Type: application/msword
X-Translator-Status: translating


rest of document ...

remove headers from anytotx

Posted: Thu Apr 06, 2006 5:54 pm
by mark
No. You can strip them by skipping past the first blank line. This will separate the headers and body
<rex ">>=!\n\n+\F\n\n" $data>
Header:$ret
<rex ">>=!\n\n+\n\n\P=.*" $data>
Body:$ret