Subject: RE: Problems with bash and here documents
From: [email-masked] (David McNamara)

30 Jan 1997 06:57:00 -0800
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Original-To: "[email-masked]'" <[email-masked]>
Encoding: 49 TEXT
Original-Sender: [email-masked]

Dale,

I had this one as well.  All you need do is make a /tmp directory (or mount 
an existing TEMP directory as /tmp) and it will work as expected.

David.
--
 David G McNamara          (919) 677 8000        Host Systems R&D
 Testing Section           Extn. 4987            SAS Institute Inc.
 PCR&D Group                                     SAS Campus Drive
 [email-masked]        R3115                 Cary, NC 27513

----------
From: 	[email-masked][SMTP:[email-masked]]
Sent: 	Thursday, January 30, 1997 12:57 AM
To: 	[email-masked]
Subject: 	Problems with bash and here documents

Can anyone tell me why here documents don't seem to work in bash?

My script contains the following:

bash$ cat test.sh
#!/bin/sh

cat << EOF

Why does this
not work as
expected?

EOF

The output of the script is:

bash$ ./test.sh
../test.sh: 49049764: No such file or directory

Thanks in advance.

Dale Wityshyn.

-
For help on using this list, send a message to
"[email-masked]" with one line of text: "help".

-
For help on using this list, send a message to
"[email-masked]" with one line of text: "help".