procmail
[Top] [All Lists]

Re: Hacking stdin? (Why doesn't this filter do what I expect)

1997-05-08 04:25:00
What's not rfc822 about it?

The lack of at least a From Subject or Date header before the body?


On Thu, 8 May 1997, era eriksson wrote:

On Thu, 8 May 1997 06:15:29 -0400 (EDT),
Robert Nicholson <steffi2(_at_)dgs(_dot_)dgsys(_dot_)com> wrote:
 > Note the nine bytes for the Message yet when I try to display that
 > attatchment it shows nothing.

It doesn't look like a message/rfc822 to me. If Pine doesn't always
display full headers, I guess it might take the "testing" line as an
unrecognized header it shouldn't display, and what you're left with is
a blank header and no message body to begin with. 

 > ---- next item --
 > Content-Type: message/rfc822
 > 
 > testing
 > 
 > ---- next item ----

I'd still imagine that you could get better throughput +and+ a more
readable recipe by doing all of the body with sed. Check out the a and
r commands. 

You mean lose the echo's? Perhaps I'll compromise and just put them in a
here document or something :-) Point taken though.


Hope this helps,

/* era */

-- 
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r.  <http://www.iki.fi/~era/>
 * Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>