From owner-freebsd-questions Fri Aug 17 18:30: 9 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp1.cybersurf.net (smtp1.cybersurf.net [209.197.145.111]) by hub.freebsd.org (Postfix) with ESMTP id D3C2937B40B for ; Fri, 17 Aug 2001 18:30:06 -0700 (PDT) (envelope-from 01031149@3web.net) Received: from 3web.net ([209.197.157.29]) by smtp1.cybersurf.net (Netscape Messaging Server 4.15) with SMTP id GI8PI300.CM0 for ; Fri, 17 Aug 2001 19:30:03 -0600 Received: by 3web.net (EzMTS MTSAgent 1.22b Service) ; Fri, 17 Aug 01 19:29:58 -0600 for Received: from 3web.net (10.0.0.2) by 3web.net (EzMTS MTSSmtp 1.50 Service) ; Fri, 17 Aug 01 14:08:34 -0600 for Received: by mandy.rockingd.calgary.ab.ca (sSMTP sendmail emulation); Fri, 17 Aug 2001 14:08:03 -0600 Date: Fri, 17 Aug 2001 14:08:01 -0600 From: Duke Normandin <01031149@3web.net> To: Freebsd Questions Subject: Re: Script to strip email headers?? Message-ID: <20010817140800.A116607@mandy.rockingd.calgary.ab.ca> Mail-Followup-To: Freebsd Questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from "Francesco Casadei" on Fri, Aug 17, 2001 at 03:22:35PM X-Envelope-Receiver: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Aug 17, 2001 at 03:22:35PM +0000, Francesco Casadei wrote: > On Wed, Aug 15, 2001 at 07:26:36PM -0600, Duke Normandin wrote: > > > > I use Mutt in mbox format. Over the past year or so, I've saved a lot of > > FBSD-questions messages. Anybody know of a script that will strip the > > headers from my saved folders? I want the folders to loose all that dead > > weight. It would be nice if Mutt could do this right from the start... > > -- > > -duke > > If you have installed procmail you can use the program formail. > From formail(1) manpage, EXAMPLES section: [snip] No... I don't use procmail --but, the " sed -e '1,/^$/ d' " looks promising. Does formail(1) have a comlete sed-based example? Thanks! -- -duke Calgary, Alberta, Canada To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message