procmail
[Top] [All Lists]

Re: stripping the signature from an email

2016-06-01 00:22:22
On May 31, 2016, at 11:06 PM, @lbutlr <kremels(_at_)kreme(_dot_)com> wrote:
I have the following:

:0
{ 
 MSGTEXT=`/usr/local/bin/formail -I ""`
 LOG="1 MSGTEXT=${MSGTEXT}${NL}"
 MSGTEXT=`echo $MSGTEXT | sed '/^-- $/,$d’`

OK, weirdly, this works as expected:

MSGTEXT=`/usr/local/bin/formail -I "" | sed '/^-- $/,$d’`


-- 
Think of how stupid the average person is, and realize half of them are
stupider than that.


____________________________________________________________
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>