procmail
[Top] [All Lists]

Re: quick question

1999-08-23 20:40:06
  I;ve got a really quick question, how can you check to see that a
variable equals something? I'm trying to make sure the variable isn't
empty but I havn't been able to figure out a correct syntax for it.

Try something like

   * ! VARIABLE ?? ^^^^

^^ anchors the expression at the start or end of the search area, 
depending on placement.  So ^^^^ is anchored with nothing in between,
meaning that the variable is empty.

Chris

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