procmail
[Top] [All Lists]

Re: empty body

2006-06-20 06:17:31

On Tue, 20 Jun 2006, Dallman Ross wrote:

On Mon, Jun 19, 2006 at 04:39:08PM -0600, Google Kreme wrote:

Since H is the default action, there is no need to ever specify it.

Well, but that's not quite correct.

E.g., if you want to match both body and header, you need it.


 :0 HB
 * foo
 action

However, that would invoke the bug we are trying to avoid.
The H-flag would get stuck "on."  So, instead, we do this:

 :0
 * HB ?? foo
 action

        OK



BTW, here's a little oddity:

$ man procmailrc | egrep  " H "
$

???

Not so odd.  Use the -v switch with cat to see the non-visible
chars:

  1:30am [~/Mail] 776[1]> man procmailrc | egrep ' H' | cat -v
 man: Formatting manual page...
        H^HH    Egrep the header (default).


        Also:

[uuddii(_at_)gala ~]$  man procmailrc | colcrt | egrep -w H
        H    Egrep the header (default).
             cial case is if variablename is equal to `B', `H', `HB'  or 
`BH';
               `H'  and `B' only affect the conditions leading up to the 
block,
[uuddii(_at_)gala ~]$

Bye,
  Udi

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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