I need some help to match 2 lines with procmailrc, i.e.:
line1
line2
How this can be done?
I'm tried to match as '1$^l' but this wont work :(
$ and ^ don't actually strictly match 'end of line' and 'start of line'.
They both match a newline. So your snippet is looking for a '1'
followed by TWO newlines followed by 'l'. This should work:
:0B:
* 1$l
somemailbox
(It's much easier to figure out what you're doing wrong if you show your
actual recipe rather than just a snippet that leaves us having to guess
whether or not there is something else going on! For example, I'm
guessing that you are already using the 'B' flag but I don't know that.)
Hope that helps,
Martin
--
Martin McCarthy /</ http://procmail.non-prophet.org
`Procmail Companion' \>\
Addison Wesley /</ PGP key available
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail