home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!infoserv!steiny!
- From: steiny@steiny.com (Don Steiny)
- Newsgroups: comp.unix.shell
- Subject: Re: sending mail from shell
- Message-ID: <105@steiny.com>
- Date: 21 Aug 92 20:16:05 GMT
- References: <1992Aug21.154105.25371@news.duc.auburn.edu>
- Organization: Don Steiny Software, Santa Cruz CA
- Lines: 18
-
-
-
- mail user <<EOF
- bunch of stuff
- EOF
-
-
- will do the trick. "EOF" is an arbitrary symbol coming after the << and
- when it appears on a line by itself it terminates the input. Command
- and variable substitution takes place. You can stop it by putting the
- EOF in quotes (any kind) after the <<
-
- -don
- --
- Don Steiny
- Don Steiny Software
- Santa Cruz, CA 95060
- (408) 425-0382
-