delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/17/14:45:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Hannu E K Nevalainen" <_garbage_collector_ AT telia DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Can't create Bash here document.
Date: Wed, 17 Nov 2004 20:44:20 +0100
Message-ID: <NGBBLLIAMFLGJEOAJCCEGEHEEBAA._garbage_collector_@telia.com>
MIME-Version: 1.0
In-Reply-To: <70876D26.16890718.355BA21E@aol.com>
X-IsSubscribed: yes

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/

- Raw text -


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