delorie.com/archives/browse.cgi | search |
From: | wityshyn AT telusplanet DOT net |
Subject: | Problems with bash and here documents |
29 Jan 1997 23:16:30 -0800 : | |
Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
Distribution: | cygnus |
Message-ID: | <1.5.4.32.19970130055708.008e13f4.cygnus.gnu-win32@mail.telusplanet.net> |
Mime-Version: | 1.0 |
X-Sender: | wityshyn AT mail DOT telusplanet DOT net |
X-Mailer: | Windows Eudora Light Version 1.5.4 (32) |
Original-To: | gnu-win32 AT cygnus DOT com |
Original-Sender: | owner-gnu-win32 AT cygnus DOT 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 AT cygnus DOT com" with one line of text: "help".
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |