Article View: comp.mail.mush
Article #786Re: Elm makes me jealous because...
From: schaefer
Date: Fri, 17 May 1991 00:38
Date: Fri, 17 May 1991 00:38
55 lines
1988 bytes
1988 bytes
On May 14, 4:03am, Rick Farris wrote:
} Subject: Elm makes me jealous because...
}
} I save incoming mail under the authors name (save -a
} ~/Mail). How can I get my responses filed into the same
} file?
The general problem with this is that there's never more than one
author, but there may be several recipients. Which recipient do you
want it filed under?
Have you considered using "set record", then occasionally changing
to the record folder and typing:
set reply_to_hdr = to
save -a * ~/Mail | delete
? Of course, then you have to sort the various folders by date when
you examine them ....
} That is, how can I get a file composed of all the mail from
} a given person, interleaved with my replies?
How about:
#----- 8< ----- CUT HERE ----- 8< ----- CUT HERE ----- 8< -----
#! /bin/sh
#
# Call this file "record_users" and put it somewhere in your $PATH,
# say in $HOME/bin. Make it executable (chmod +x). Add to .mushrc:
#
# set record='|record_users'
#
# or if your machine can't do #!, try:
#
# set record="|sh $HOME/bin/record_users"
#
# Saves outgoing mail to the folder named for the first person on
# the To: line. If there isn't anyone on the To: line, saves it
# under your own login name, probably.
#
cat > /tmp/out$$
mush -N -f /tmp/out$$ -i <<EOF 2>&1 > /dev/null
set reply_to_hdr = to
save -a * ~/Mail
delete *
quit
EOF
exit 0
--
Bart Schaefer schaefer@zipcode.com
Z-Code Software Corporation schaefer@cse.ogi.edu
Technical Details
Message-ID:
<9105170038.AA12403@cse.ogi.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!mintaka!bloom-beacon!dont-send-mail-to-path-linesShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!mintaka!bloom-beacon!dont-send-mail-to-path-lines From: schaefer@cse.ogi.EDU Newsgroups: comp.mail.mush Subject: Re: Elm makes me jealous because... Message-ID: <9105170038.AA12403@cse.ogi.edu> Date: 17 May 91 00:38:27 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: Z-Code Software Corp. Lines: 55