From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/3981 Path: main.gmane.org!not-for-mail From: Sudish Joseph Newsgroups: gmane.emacs.gnus.general Subject: Re: External delivery: methods. Date: 15 Nov 1995 03:52:58 -0500 Organization: The Ohio State University Dept. of Computer and Info. Science Sender: joseph@cis.ohio-state.edu Message-ID: References: <199511150818.DAA05459@honsu.cis.ohio-state.edu> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035144793 28159 80.91.224.250 (20 Oct 2002 20:13:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:13:13 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by miranova.com (8.6.11/8.6.9) with ESMTP id CAA20951 for ; Wed, 15 Nov 1995 02:00:20 -0800 Original-Received: from news.cis.ohio-state.edu (news.cis.ohio-state.edu [164.107.8.50]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Wed, 15 Nov 1995 09:53:04 +0100 Original-Received: from honsu.cis.ohio-state.edu (honsu.cis.ohio-state.edu [164.107.138.13]) by news.cis.ohio-state.edu (8.6.8.1/8.6.4) with ESMTP id DAA19876 for ; Wed, 15 Nov 1995 03:53:02 -0500 Original-Received: (joseph@localhost) by honsu.cis.ohio-state.edu (8.6.7/8.6.4) id DAA05499; Wed, 15 Nov 1995 03:52:59 -0500 Original-To: The Ding List In-Reply-To: Sudish Joseph's message of Wed, 15 Nov 1995 03:18:08 -0500 Original-Lines: 16 Xref: main.gmane.org gmane.emacs.gnus.general:3981 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:3981 I forgot to add that the best approach in all ways would be to write a small C program to do what add-active-nov or the procmail recipe I posted does. It'd be small, since it could be linked against the code in procmail itself. The only factor here is the time needed in understanding the code in procmail, which isn't very easy reading coz of all the optimizations the author does. (2 of the files break both GNU and BSD indent, for starters :-). -Sudish PS: It's a pity that I have to do all those echo's to strip whitespace, since procmail itself does this for pipe actions that don't contain shell metachars (try an `echo tabbed and spaced string` with VERBOSE=ON). I can't think of any way to access this feature w/o doing an echo/pipe, tho. If anyone has any suggestions as to how to do this, I'd be very grateful.