From: Lars Hecking <lhecking(_at_)nmrc(_dot_)ucc(_dot_)ie>
To: procmail(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE
Subject: Re: Simple method for removing all attachments.
Mail-Followup-To: procmail(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE
Content-Disposition: inline
User-Agent: Mutt/1.5.1i
X-Beenthere: procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
X-Mailman-Version: 2.0.13
Precedence: bulk
List-Help:
<mailto:procmail-request(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE?subject=help>
List-Post: <mailto:procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE>
List-Subscribe: <http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail>,
<mailto:procmail-request(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE?subject=subscribe>
List-Id: discussion of the procmail program <procmail.lists.RWTH-Aachen.DE>
List-Unsubscribe: <http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail>,
<mailto:procmail-request(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE?subject=unsubscribe>
List-Archive: <http://MailMan.RWTH-Aachen.DE/pipermail/procmail/>
Date: Tue, 12 Nov 2002 12:06:18 +0000
X-Loop: nomobot
dman(_at_)nomotek(_dot_)com writes:
From: Udi Mottelo <uuddii(_at_)eng(_dot_)tau(_dot_)ac(_dot_)il>
:0 bfw
|sed -e '/type.*multipart\/alternative/s/\/alternative/\/mixed/'|\
/usr/bin/metamail -r -y -w -q -x
Udi, your quoting is fubar. Slashes don't need quoting. By
quoting them, you've simulated the procmail MATCH token, `\/',
which is not what you had in mind.
In sed, slashes need quoting Unless one uses a different RE delimiter.
Wow, you're right, of course. Sorry, Udi. I was on my first cup of
coffee, and it shows, unfortunately. I didn't even notice the sed:
I didn't read very carefully at all, I'm afraid. :-(
Thanks for the correction, Lars.
--
dman
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail