Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcvax!hp4nl!botter!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.unix.ultrix Subject: Re: Bug in /bin/sh?? Message-ID: <2828@solo3.cs.vu.nl> Date: 4 Jul 89 00:52:18 GMT References: <400@mipos3.intel.com> Organization: V.U. Informatica, Amsterdam, the Netherlands Lines: 28 jbrayton@mipos2.intel.com (Jim Brayton) writes: \... \#!/bin/sh \ \bogus=`cat << END \a \END \` \ \/bin/echo $bogus [doesn't work as expected] Seems a bug to me indeed. On the other hand though I'd expect the following to work TOO: #!/bin/sh foo=`cat` << EOF bar EOF echo $foo Did you try this? -- "I HATE arbitrary limits, especially when |Maarten Litmaath @ VU Amsterdam: they're small." (Stephen Savitzky) |maart@cs.vu.nl, mcvax!botter!maart