Subject: Problems with bash and here documents
From: [email-masked]

29 Jan 1997 23:16:30 -0800
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: [email-masked]
X-Mailer: Windows Eudora Light Version 1.5.4 (32)
Original-To: [email-masked]
Original-Sender: [email-masked]

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".