From: wityshyn@telusplanet.net
Subject: Problems with bash and here documents
29 Jan 1997 23:16:30 -0800
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <1.5.4.32.19970130055708.008e13f4.cygnus.gnu-win32@mail.telusplanet.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: wityshyn@mail.telusplanet.net
X-Mailer: Windows Eudora Light Version 1.5.4 (32)
Original-To: gnu-win32@cygnus.com
Original-Sender: owner-gnu-win32@cygnus.com

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
"gnu-win32-request@cygnus.com" with one line of text: "help".
