remove headers from anytotx

Post Reply
basement_addict
Posts: 78
Joined: Mon Nov 19, 2001 5:20 pm

remove headers from anytotx

Post 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 ...
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

remove headers from anytotx

Post 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
Post Reply