procmail
[Top] [All Lists]

Re: Malfunction with SED (CONTINUED #2)

2000-06-16 00:14:18
"David W. Tamkin" wrote:

SoloCDM asked,

| When combining two lines as one in sed's regexp/condition, is it
| possible to combine the lines with a return in between?

If you're trying to get two lines of text into the pattern space at once,
the command in sed is N.

The following address commands are the most successful yet, when
executed at the bash command-line, but they refuse to work in
.procmailrc.  I've tried several other address commands without
success in the right direction, so where does the problem exist?

        sed ':a;N;s/^<img\nsrc[^>]*blankpixel[^>]*">//g'

Note: Detailed Document(s) and Sample(s) are more than welcome.
      When you reply to this message, please include
      the mailing list and my address.

*********************************************************************
Signed,
SoloCDM


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail