Bug in /bin/sh??

Maarten Litmaath maart at cs.vu.nl
Tue Jul 4 10:52:18 AEST 1989


jbrayton at 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 at cs.vu.nl, mcvax!botter!maart



More information about the Comp.unix.ultrix mailing list