From owner-freebsd-questions@FreeBSD.ORG Sat Apr 2 17:46:00 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78C1216A4CE for ; Sat, 2 Apr 2005 17:46:00 +0000 (GMT) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 298B343D1D for ; Sat, 2 Apr 2005 17:46:00 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DHmfN-0006J5-Pn for freebsd-questions@freebsd.org; Sat, 02 Apr 2005 19:44:13 +0200 Received: from pcp08490587pcs.levtwn01.pa.comcast.net ([68.83.169.224]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Apr 2005 19:44:13 +0200 Received: from apeiron+usenet by pcp08490587pcs.levtwn01.pa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Apr 2005 19:44:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Christopher Nehren Date: Sat, 2 Apr 2005 17:43:06 +0000 (UTC) Organization: /usr/bin/false Lines: 30 Message-ID: References: <20050402140601.D9329@kenmore.kozy-kabin.nl> <20050402124754.GB6829@gothmog.gr> <20050402145327.A9329@kenmore.kozy-kabin.nl> X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pcp08490587pcs.levtwn01.pa.comcast.net User-Agent: slrn/0.9.8.1 (FreeBSD) Sender: news Subject: Re: *attaching* a file to /usr/bin/mail message X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2005 17:46:00 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2005-04-02, Colin J. Raven scribbled these curious markings: > I'm not stuck with mail, I use it with some shell scripts....but yeah, I > guess I could use mutt....there's an idea I hadn't previously > considered. If you're doing scripting, why not use an actual scripting language, and some tools actually designed to do what you're trying to do? For example, Perl has MIME::Lite, which does exactly what you want -- and not much else. I've used it to automate sending email based on the output of "make test". Best Regards, Christopher Nehren -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCTtoGk/lo7zvzJioRArQJAJ9JC2uM3P7+vHtChU3qhV/c0GBbIACgnObf JXdlF8zucP10wfTfZGl5kDE= =sflC -----END PGP SIGNATURE----- -- I abhor a system designed for the "user", if that word is a coded pejorative meaning "stupid and unsophisticated". -- Ken Thompson If you ask the wrong questions, you get answers like "42" and "God". Unix is user friendly. However, it isn't idiot friendly.