delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/11/11:11:19

X-Spam-Check-By: sourceware.org
Date: Thu, 11 May 2006 11:11:02 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Dave Korn <dave DOT korn AT artimi DOT com>
cc: cygwin AT cygwin DOT com
Subject: RE: Data streams being treated as files in Cygwin
In-Reply-To: <003901c6750c$94ab27e0$a501a8c0@CAM.ARTIMI.COM>
Message-ID: <Pine.GSO.4.63.0605111108480.173@access1.cims.nyu.edu>
References: <003901c6750c$94ab27e0$a501a8c0 AT CAM DOT ARTIMI DOT COM>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Thu, 11 May 2006, Dave Korn wrote:

> On 11 May 2006 16:00, Igor Peshansky wrote:
>
> > On Thu, 11 May 2006, Dave Korn wrote:
>
> >>   Cygwin's file handling relies on the underlying facilities of the
> >> Windows O/S, for the most part.
> >
> > Yes, and that leads to some funny behavior -- see below.
>
> > Interestingly enough:
> >
> > $ echo "BLAH" > a:b
> > bash: a:b: No such file or directory
>
>   Perhaps you forgot to put a floppy in the drive?

Gee, you think so? :-)

The point I was making was that Windows isn't consistent about treating
filenames as streams vs. disk references, due to the reuse of the ':'
character.  I'm guessing it would be possible to add streams to a file
called 'a', but not through the interfaces used by Cygwin.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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