Data streams being treated as files in Cygwin

Igor Peshansky pechtcha@cs.nyu.edu
Thu May 11 15:11:00 GMT 2006


On 2006年5月11日, Dave Korn wrote:
> On 11 May 2006 16:00, Igor Peshansky wrote:
>> > On 2006年5月11日, 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@cs.nyu.edu | igor@watson.ibm.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/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /