Newsgroup: alt.hackers


Newsgroups: alt.hackers
Path: icdoc!dds
From: dds@doc.ic.ac.uk (Diomidis Spinellis)
Subject: Re: My first Unix hack: Uploading batch of e-mail
Message-ID: <1992Mar30.164628.12629@doc.ic.ac.uk>
Sender: usenet@doc.ic.ac.uk
Nntp-Posting-Host: dirty.doc.ic.ac.uk
Organization: Dept. of Computing, Imperial College, London, England
References: <6134@public.BTR.COM>
Date: Mon, 30 Mar 1992 16:46:28 GMT
Approved: guest@research.att.com
Lines: 31
Content-Length: 1177
In article <6134@public.BTR.COM> rem@BTR.Com (Robert Elton Maas) writes:
>I'm rather new to Unix, but a couple days ago I managed to figure out a
>way to upload a batch of e-mail and then have the messages
>automatically sent to their respective recipients all from a single
>shell command. (I was going to post this a day or two ago, but EMACS
>mysteriously stopped working for a day or so.
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[...]
>Anybody want to guess how I might have done this before I reveal my
>trick?

It wouldn't happen to be something like:
mail foo@bar.com <<EOF
Hi,

I like Unix; I can execute commands like `echo '(kill-emacs)' >.emacs`
and change your configuration in one shell line.  Now I have found a way
to  upload a batch of e-mail and then have the messages automatically sent 
to their respective recipients.

Robert
EOF

ObHack: Toggle autoindent mode in vi:
map = o^[i  x^Mnoai^[0xxi:set ^[kdd"qdd@q

Diomidis
-- 
Diomidis Spinellis                  Internet:                 dds@doc.ic.ac.uk
Department of Computing             UUCP:                    ...!ukc!icdoc!dds
Imperial College, London SW7        #include "/dev/tty"



Newsgroup alt.hackers contents
Newsgroup list
Diomidis Spinellis home page

Creative Commons License Unless otherwise expressly stated, all original material on this page created by Diomidis Spinellis is licensed under a Creative Commons Attribution-Share Alike 3.0 Greece License.