procmail
[Top] [All Lists]

Re: Stripping multiple lines out of Body

2003-01-16 16:36:27
On Thu, 16 Jan 2003, LuKreme wrote:

sed '/^==\^==+/,/^==\^==+/d' does not work.

Doesn't + mean "one or more of the preceding character"?

Not in most implementations of sed, it doesn't.  "+" is an egrep regular
expression metacharacter, but sed understands only grep expressions.  
(That's not quite accurate, but it's a reasonable mnemonic.)


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