procmail
[Top] [All Lists]

Re: formail tricks

2004-04-14 02:11:32
On Wed, Apr 14, 2004 at 03:42:57PM +1200, Volker Kuhlmann wrote:

[Dallman Ross worte:]
So there you go.  Oh, and I have a version where I throw in a -c
option to unfold the headers for grepping, etc.

 alias headers 'formail -I =::::::::::::::::::::::= -X "" -20 -s < \!:1'

alias headers 'formail -I =::::::::::::::::::::::= -X "" -20 \!:2* -s < \!:1'

headers -c mailbox

Excellent!  Dankeschoen, Volker.

(But the syntax would be "headers mailbox -c".) ;->

Now, what could I possibly do to make this work when piping to it, too?
As in

  zcat mailbox.gz | headers

-- 
dman

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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