Timothy Luoma asked,
| I get a certain mail message every day with the same subject from
| the same person. The subject itself it _not_ very helpful. What I
| would like is if I could get the third line of his email message,
| dump his useless subject, and replace the subject with the third
| line from the body.
:0hf
* other conditions for identifying mail from this fellow
* B ?? ^^.*$.*$\/.+
| formail -I "Subject: $MATCH"
Note that it also takes care of skipping cases, as Philip Guenther explained,
where the third line of the body is empty. It also saves the call to sed.