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

  1. Path: sparky!uunet!infoserv!steiny!
  2. From: steiny@steiny.com (Don Steiny)
  3. Newsgroups: comp.unix.shell
  4. Subject: Re: sending mail from shell
  5. Message-ID: <105@steiny.com>
  6. Date: 21 Aug 92 20:16:05 GMT
  7. References: <1992Aug21.154105.25371@news.duc.auburn.edu>
  8. Organization: Don Steiny Software, Santa Cruz CA
  9. Lines: 18
  10.  
  11.  
  12.  
  13. mail user <<EOF
  14. bunch of stuff
  15. EOF
  16.  
  17.  
  18. will do the trick.   "EOF" is an arbitrary symbol coming after the << and
  19. when it appears on a line by itself it terminates the input.   Command
  20. and variable substitution takes place.   You can stop it by putting the
  21. EOF in quotes (any kind) after the <<
  22.  
  23. -don
  24. -- 
  25. Don Steiny
  26. Don Steiny Software
  27. Santa Cruz, CA 95060
  28. (408) 425-0382
  29.