[7051] in SIPB bug reports
Re: whats
daemon@ATHENA.MIT.EDU (Greg Hudson)
Sun Nov 22 15:21:42 1998
To: Jacob Morzinski <jmorzins@MIT.EDU>
Cc: yak@MIT.EDU, bug-sipb@MIT.EDU
In-Reply-To: Your message of "Sun, 22 Nov 1998 15:18:52 EST."
<Pine.GSO.3.96L.981122151652.24273A-100000@contents-vnder-pressvre.mit.edu>
Date: Sun, 22 Nov 1998 15:21:34 EST
From: Greg Hudson <ghudson@MIT.EDU>
> If you can think of a platform-portable way to rewrite the line:
> echo "${ac} - ${def}" | /usr/athena/bin/mhmail sipb-whats@mit.edu -subject "New acron entry: ${ac}"
> then people would probably be happy with you.
> Unfortunately, mail programs are in all different places, and not
> all support the -s flag...
A better way to send mail is something like:
PATH=/bin:/usr/bin:/usr/sbin:/usr/lib
(echo "To: sipb-whats@mit.edu"
echo "Subject: New acron entry: $ac"
echo ""
cat -) | sendmail -t
Compressing that into one line is doable, although a bit messy.