Per Jessen wrote:
David C. Rankin wrote:
I looked at [formail] and it looks like it's back to parsing on
From - starts the header and ^$ ends the header and ^$^$ ends the
message. Probably get more control this way anyway ;-)
To have formail extract all 'From:' addresses from a Thunderbird mailbox
file:
formail
To remove all headers and just dump the body of each mail:
formail
/Per
Per,
I read the man page start to end and I didn't get that at all. I'm glad it's
there, but I sure didn't read that from the man page. To wit:
formail [+skip] [-total] [-bczfrktedqBY] [-p prefix]
[-D maxlen idcache]
[-l folder]
[-x headerfield] [-X headerfield]
[-a headerfield] [-A headerfield]
[-i headerfield] [-I headerfield]
[-u headerfield] [-U headerfield]
[-R oldfield newfield]
[-n [maxprocs ]] [-m minfields] [-s [command [arg ...]]]
-s The input will be split up into separate mail messages, and piped into a
program one by one (a new program is started for every part). -s has to be the
last option specified, the first argument following it is expected to be the
name of a program, any other arguments will be passed along to it. If you omit
the program, then formail will simply concatenate the split mails on stdout
again. See FILENO.
-i headerfield Same as -A, except that any existing similar fields are renamed
by prepending an ``Old-'' prefix. If headerfield consists only of a field-name,
it will not be appended.
-I headerfield Same as -i, except that any existing similar fields are simply
removed. If headerfield consists only of a field-name, it effectively deletes
the field.
Thanks for pointing that out for me.
--
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse+help@opensuse.org