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

  1. Path: sparky!uunet!uunet!not-for-mail
  2. From: davidf@mks.com (David J. Fiander)
  3. Newsgroups: comp.std.unix
  4. Subject: Re: Embedded data in shell scripts?
  5. Date: 17 Aug 1992 14:38:26 -0700
  6. Organization: Mortice Kern Systems Inc., Waterloo, Ontario, CANADA
  7. Lines: 22
  8. Sender: sef@ftp.UU.NET
  9. Approved: sef@ftp.uucp (Moderator, Sean Eric Fagan)
  10. Message-ID: <16p68iINNrvs@ftp.UU.NET>
  11. References: <16h4n3INNk80@ftp.UU.NET> <16h7d3INNlkd@ftp.UU.NET>
  12. NNTP-Posting-Host: ftp.uu.net
  13. X-Submissions: std-unix@uunet.uu.net
  14.  
  15. Submitted-by: davidf@mks.com (David J. Fiander)
  16.  
  17. According to mengel@dcdmwm.fnal.gov (Marc W. Mengel)
  18. >It is also why the shell has
  19. >here-documents, so you can say
  20. >
  21. >    foo=`sed 1q <<EOF
  22. >    hi there
  23. >    EOF`
  24. >    echo $foo
  25. >    echo Done
  26. >
  27. >to to the job right in a script, pipeline, etc.
  28.  
  29. I'm quite aware of that.  The problem is that the standard
  30. seems to be attempting to allow my example in scripts and, in
  31. my opinion, failing badly.
  32.  
  33. - David
  34.  
  35.  
  36. Volume-Number: Volume 28, Number 101
  37.