procmail
[Top] [All Lists]

Re: error in recipe

2005-01-11 07:43:51
Toen wij Ruud H.G. van Tol kietelden, kwam er dit uit:
Dallman Ross:

Whoa, wait a minute, here's another idea:
  REM = '!$ ^^^^ ${-$myrem} ^^^^ !
'

The match on '^^(message)?' is safer & faster, I presume.

Alternative:

  REM = ' $ ^^ * * *($myrem)* * *'

That one goes wrong when there is a ')' in $myrem. But a 
$\myrem will create a () in front.

Still maybe a safe default:

  REM = "${REM:-\$! ^^^^ * * *( \$\myrem )* * *^^^^
*}"

-- 
Grtz, Ruud

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