Can't create Bash here document.
Hannu E K Nevalainen
_garbage_collector_@telia.com
Wed Nov 17 19:45:00 GMT 2004
YorkshireSkier BLOB aol.com 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); --
--END OF MESSAGE--
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list