*attaching* a file to /usr/bin/mail message

Christopher Nehren apeiron+usenet at coitusmentis.info
Sat Apr 2 09:46:00 PST 2005


-----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.



More information about the freebsd-questions mailing list