[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: procmail syntax problem



On Mon, Sep 10, 2001 at 09:45:54PM +0000, John Ericson wrote:

> I have a bit problem with 4 lines that lookes like this:

> :0:
> * ^Subject: 24 Hours of Slashdot Headlines For \
> | ^Subject: \[ Slashdot Message \] Daily Headlines
> in-slashdot_hl

You may want to write

:0:
* ^Subject: 24 Hours of Slashdot Headlines For\
|^Subject: \[ Slashdot Message \] Daily Headlines
in-slashdot_hl

instead, as the space before `\' and the space after `|'
are counted as part of the regexp.

To make things a bit more readable, I suggest using the following
form:

* ^Subject: 24 Hours of Slashdot Headlines For|\
  ^Subject: \[ Slashdot Message \] Daily Headlines

or even

* ^Subject: (24 Hours of Slashdot Headlines For|\
             \[ Slashdot Message \] Daily Headlines)

-- 
BALI, Andra's                                  GPG keyID: 78560E1C
drewie@bigfoot.com     bali@debian.org     andras.bali@stud.bke.hu



Reply to: