[prev in list] [next in list] [prev in thread] [next in thread] 

List:       procmail
Subject:    Re: Problem with charset recipe
From:       "Ruud H.G. van Tol" <rvtol () isolution ! nl>
Date:       2004-04-19 16:38:22
Message-ID: 084501c4262c$cbc77700$0a01a8c0 () isolution ! nl
[Download RAW message or body]

Toen wij LuKreme kietelden, kwam er dit uit:

>   * B ?? $VAR
> 
> searches for "$VAR" in the body.

Where the $ is a newline. 

This is the same:

   * B ?? ^VAR

(maybe unless SHELLMETAS contains V, A or R?)


But ^^ is not the same as $$.


Example-1:

  * var ?? $^^ 

looks for a newline at the end of $var.


Example-2:

  * var ?? ($)($)

looks for two newlines, but since both start and end of 
buffer are putative newlines, a newline at start or end of 
$var will also match. So ($)($) is short for (^^$|($)($)|$^^).

Maybe that the ($)($) there could also be written as $$, 
but $$ also means process-id, so it is more future-proof 
to write it as ($)($).

-- 
Grtz, Ruud

_______________________________________________
procmail mailing list
procmail@lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic