procmail
[Top] [All Lists]

RE: formail tricks

2004-04-14 10:06:28
Volker Kuhlmann wrote:
There may be a chance to do this with the proposed 
cat|formail in a tcsh alias if there is an expression 
for \!:allbutthelastone.

That's what I'm hoping.  I don't know it.

Mike Peeler tells me: \!:1-

Which is very cool.

However, I'm still having trouble:

 alias headers 'zmore \!:$ | formail \!:1- -I =:::::= -X "" -20 -s'

That works, but not if I leave an arg out.

  headers -c file.gz
  headers -q file

etc. work.  But not just

  headers file

Btw, -I "[::::::::]" is also an interesting alternative.

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