delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/08/10:34:32

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
Message-ID: <20040908142917.50902.qmail@web61204.mail.yahoo.com>
Date: Wed, 8 Sep 2004 07:29:16 -0700 (PDT)
From: C Schreiner <caschreirc AT yahoo DOT com>
Subject: RE: can't open file for writing
To: cygwin AT cygwin DOT com
In-Reply-To: <NGBBLLIAMFLGJEOAJCCEEENADNAA._garbage_collector_@telia.com>
MIME-Version: 1.0
X-IsSubscribed: yes
Note-from-DJ: This may be spam

Yes, I meant "echo":

prompt> echo "hello" > foo.txt
bash: foo.txt: No such file or directory

Also, checking my records, I did not have this problem
with the current cygwin release as of last February
(2004); the problem only began happening when I
upgraded in August to Cygwin 5.1 NT with cygwin DLL
1.5.10.

Did something change in Cygwin that could be affecting
this (even if it is not Cygwin's fault)?  Is is
possible I have some libraries out of sync?




--- Hannu E K Nevalainen
<_garbage_collector_ AT telia DOT com> wrote:

> C Schreiner, ++++++-owner AT cygwin.+++ wrote:
> > I can not save to a nonexistant file name under
> > Cygwin, but I can under Windows.
> > 
> > When I type:
> > 
> >    cat "hello" > foo.txt
> 
> I suppose you MEANT "echo" here... otherwise:
> 
> $ cat "hello" >foo.txt
> cat: hello: No such file or directory
> $ echo "hello" >foo.txt                       
> $ cat foo.txt
> hello
> 
> > under Cygwin I get this error message:
> > 
> >    bash: foo.txt: No such file or directory
> > 
> > (unless foo.txt already exists in the current
> > directory).  This only happens with network
> > filesystems.
> <SNIP>
> 
> /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/
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
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