delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/01/30/06:57:00

From: sukdgm AT unx DOT sas DOT com (David McNamara)
Subject: RE: Problems with bash and here documents
30 Jan 1997 06:57:00 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <01BC0E8B.B5BC70C0.cygnus.gnu-win32@stmoritz.pc.sas.com>
Original-To: "'gnu-win32 AT cygnus DOT com'" <gnu-win32 AT cygnus DOT com>
Encoding: 49 TEXT
Original-Sender: owner-gnu-win32 AT cygnus DOT com

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
 sukdgm AT unx DOT sas DOT com        R3115                 Cary, NC 27513



----------
From: 	wityshyn AT telusplanet DOT net[SMTP:wityshyn AT telusplanet DOT net]
Sent: 	Thursday, January 30, 1997 12:57 AM
To: 	gnu-win32 AT cygnus DOT com
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
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".


-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019