Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Subject: RE: can't open file for writing Date: Sun, 5 Sep 2004 21:12:19 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: <20040903213311.47094.qmail@web61202.mail.yahoo.com> X-IsSubscribed: yes 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. /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/