procmail
[Top] [All Lists]

Re: help about formail

1999-12-06 10:17:17
Claudiu asked,

| let's say that I have 21 email in folder inbox.

| I need to extract also the subject lines, and I would do it like this:
| $ cat inbox | formail -ds formail -x Subject:
| this, the output is only 16 lines long because some emails don't have a
| subject.
| I need formail to output a blank line instead of nothing, so the output
| would be 21 lines, same as above.

  formail -aSubject: -xSubject: -ds < inbox

worked for me (and it takes only one process instead of twenty-three).

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