procmail
[Top] [All Lists]

Re: empty body

2006-06-19 16:49:03
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


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).
 
dman

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