Re: Changing the subject
"@lbutlr" <[email protected]> Mon, 5 Oct 2015 18:01:20 -0600
| Newsgroups | gmane.mail.procmail |
|---|---|
| Message-ID | <[email protected]> |
On Sun Oct 04 2015 20:45:23 @lbutlr <@lbutlr> said:OK, I fixed various typos and error and have something that is ALMOST working:
:0
* ARG ?? ^^alert^^
{
VERBOSE=ON
# SUBJECT=`formail -zx "Subject:"`
TRAP='mv "$LASTFOLDER" "${LASTFOLDER}:2,S"'
;0cfwh
BODYSUB=`formail -I ""`
:0 hfw
|formail -I"Subject: $BODYSUB"
:0
.alerts/
}
The trouble now is that BODYSUB begins with a <CR> so the subject shows up as
Subject:
The body txt is here.
--
I WILL NOT GREASE THE MONKEY BARS Bart chalkboard Ep. 7F17