home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!uunet!not-for-mail
- From: davidf@mks.com (David J. Fiander)
- Newsgroups: comp.std.unix
- Subject: Re: Embedded data in shell scripts?
- Date: 17 Aug 1992 14:38:26 -0700
- Organization: Mortice Kern Systems Inc., Waterloo, Ontario, CANADA
- Lines: 22
- Sender: sef@ftp.UU.NET
- Approved: sef@ftp.uucp (Moderator, Sean Eric Fagan)
- Message-ID: <16p68iINNrvs@ftp.UU.NET>
- References: <16h4n3INNk80@ftp.UU.NET> <16h7d3INNlkd@ftp.UU.NET>
- NNTP-Posting-Host: ftp.uu.net
- X-Submissions: std-unix@uunet.uu.net
-
- Submitted-by: davidf@mks.com (David J. Fiander)
-
- According to mengel@dcdmwm.fnal.gov (Marc W. Mengel)
- >It is also why the shell has
- >here-documents, so you can say
- >
- > foo=`sed 1q <<EOF
- > hi there
- > EOF`
- > echo $foo
- > echo Done
- >
- >to to the job right in a script, pipeline, etc.
-
- I'm quite aware of that. The problem is that the standard
- seems to be attempting to allow my example in scripts and, in
- my opinion, failing badly.
-
- - David
-
-
- Volume-Number: Volume 28, Number 101
-