<<< Date Index >>>     <<< Thread Index >>>

Re: mbox script



Re: Matthew D. Fuller in <20040128195135.GD13101@xxxxxxxxxxxxxxx>
> > The mbox format is really simple: each mail starts with "From " at the
> > beginning of a line (this means that you have to quote (like here) each
> > From that occurs there.)
> 
> The difficulty is that it isn't always that easy; for instance, mbox's
> that use the Content-Length: headers in the email will often not
> escape From_'s in the messages.  I went through several iterations of
> some rather ugly mbox parsing code before I eventually got something
> that seems to work reliably.

Thanks for pointing that out, never thought of that. I was still
assuming that it got quoted like ">From ". The above line got q-p'ed:

| beginning of a line (this means that you have to quote (like here) each
| =46rom that occurs there.)

Christoph
-- 
Christoph Berg <cb@xxxxxxxxxxxxxxxx>, http://www.df7cb.de/
Wohnheim D, 2405, Universität des Saarlandes, 0681/9657944

Attachment: signature.asc
Description: Digital signature