Skip site navigation (1)Skip section navigation (2)
Date:      18 Mar 2005 16:33:56 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Gary Kline <kline@tao.thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: script to save a particular mail file??
Message-ID:  <44ekec7i63.fsf@be-well.ilk.org>
In-Reply-To: <20050317220638.GA54657@thought.org>
References:  <20050317220638.GA54657@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Gary Kline <kline@tao.thought.org> writes:

> 	Just thought I'd ask the list if anyone has a script to
> 	read /var/mail/<login> and grab a single file.  I just
> 	sub'd to a mailing list that is produced only in HTML.
> 	I'd like to save it to /tmp, strip it, and have it ready
> 	for lynx or links.
> 
> 	If anyone onlist has already done this, it would save me
> 	from reinventing *this* wheel.

The first thing that occurs to me is using formail (part of procmail)
and maybe metamail if formail can't extract the HTML...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44ekec7i63.fsf>