home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / shell / 3558 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  1.3 KB

  1. Path: sparky!uunet!olivea!news.bbn.com!usc!sdd.hp.com!zaphod.mps.ohio-state.edu!darwin.sura.net!news.duc.auburn.edu!woof!hendefd
  2. From: hendefd@woof.duc.auburn.edu (Frank Henderson)
  3. Newsgroups: comp.unix.shell
  4. Subject: sending mail from shell
  5. Message-ID: <1992Aug21.154105.25371@news.duc.auburn.edu>
  6. Date: 21 Aug 92 15:41:05 GMT
  7. Sender: usenet@news.duc.auburn.edu (News Account)
  8. Reply-To: hendefd@woof.duc.auburn.edu
  9. Organization: Sun Microsystems, Inc.
  10. Lines: 17
  11. Nntp-Posting-Host: woof
  12.  
  13. I need a shell script (csh or sh) to send me mail after completion.
  14. I tried /usr/lib/sendmail -bm -fperson -t me and then echo'ing a 
  15. message but this requires an EOF or CTRL-d which I don't know how
  16. to do from a shell.  Could someone tell me how to do this or suggest
  17. a better way.
  18.  
  19. Thanks for the help.
  20. Email to address below and I'll summarize.
  21.  
  22. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  23. Frank Henderson              \     /      E-mail: hendefd@tech.duc.auburn.edu
  24. Network Technical Support     \   /       phone : (205) 844-4512
  25.                            ----/_\----
  26.                x--------------( . )--------------x    CF-18 Hornet
  27.                     x|x   | |_|\_/|_| |   x|x        by Paul Tomblin 
  28.                      x    x           x    x       pt@geovision.gvc.com
  29. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  30.