procmail
[Top] [All Lists]

What does the condition "* ^^($)|$$$" match ?

1999-10-15 08:00:04
The full recipe (from Procmail Tips Page) reads like this:

        :0 B fbw
        * ^^($)|$$$
        | sed /./,/^$/!d

It matches an empty line at the beginning of the body (B flag
and "^^($)") or something else. What does "$$$" mean ?

Also, what is the difference between "^" and "$" in a
regexp ? Are they exactly the same because of procmails'
multiline matching ?

-- 
Dipl. Inf. (FH) Aaron "Optimizer" Digulla     Tel: +41-1-229 27 18
"(to) optimize: Make a program faster by      EMail: 
dia(_at_)unix(_dot_)swx(_dot_)ch
improving the algorithms rather than by       
buying a faster machine."                     

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