procmail
[Top] [All Lists]

Re: deliver only the body to a file?

2006-10-12 02:45:27
Udi Mottelo schreef:
Ruud H.G. van Tol:

sed '/^-- /,$d' > myfile.txt

sed '/^-- $/,$d' > myfile.txt

Yes, much safer. The complete recipe has of course checks on some header
fields.
What you really want is that the cut starts at the last /^-- $/.

-- 
Groet, Ruud


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>