This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Can't create Bash here document.

YorkshireSkier BLOB wrote:
> However, if I try to use a command that uses the here document,
> I see the following error:
> $ cat <<fred
>> 1
>> 2
>> 3
>> fred
> bash: cannot create temp file for here document: No such file or
> directory 
> I can confirm that the variables TEMP and TMP (and TEMPDIR) are
> defined. All point to a valid subdirectory that has write
> permission. I can for instance 'touch $TEMP/fred' without difficulty.
> I found one similar mailing about this in the archive - the
> respondant said this has come up before, but I cannot find the
> original mailing in the archive (or on the web). Please can
> someone point me in the right direction.

What does this display:
$ mount -m

I suspect that you need:
$ mount -fsb "$TEMP" "/tmp"

/Hannu E K Nevalainen, B.Sc. EE Microcomputer systems            --72-->

** mailing list preference; please keep replies on list **

-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]