Dave, et al -- ...and then David Yitzchak Cohen said... % % On Fri, Jan 09, 2004 at 08:39:57AM -0500, David T-G wrote: % > ...and then David Yitzchak Cohen said... % % > % if egrep "^To:.* blah@xxxxxxx" >&/dev/null ; then % > % blah_goo_gaa=1 % > % fi % > % % > % if egrep "^To:.* wawa@xxxxxxxx" >&/dev/null ; then % > % wawa_mama_dad=1 % > % fi % > % > Oops. I forgot to note that this will often not work, since it can't % > handle % > % > To: My Crazy Friend <blah@xxxxxxx>, % > Baby Brother <wawa@xxxxxxxx> % % A quick google will reveal some useful utilities for getting recipients % (not just TOed guys) and arbitrary headers from emails, as well as some Right. % filters to "single-line"ify headers (so you can use my grep trick above % as-is, if you really really want to). If you're too lazy to google, Yep. % have a peek in my ~/bin directory [1] for some of my personal favorites. % (A few of the scripts in my Mutt config file directory [2] illustrate % the usage of most of them, if you can't figure it out yourself easily. % If that fails too, just ask me.) Nah; I'm cool. I just wanted to note that the Quick Hack above would need a bit of work before it could really work. Thanks for the URLs, though! :-) HAND & Happy New Year :-D -- David T-G * There is too much animal courage in (play) davidtg@xxxxxxxxxxxxxxx * society and not sufficient moral courage. (work) davidtgwork@xxxxxxxxxxxxxxx -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
Attachment:
pgpws0jq6y7qk.pgp
Description: PGP signature