delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: | Norton Allen <allen AT huarp DOT harvard DOT edu> |
Message-Id: | <200302032241.RAA19340@bottesini.harvard.edu> |
Subject: | Re: [ -d ' ' ] && echo yes |
To: | elfyn-cygwin AT exposure DOT org DOT uk (Elfyn McBratney) |
Date: | Mon, 3 Feb 2003 17:41:42 -0500 (est) |
Cc: | cygwin AT cygwin DOT com, allen AT huarp DOT harvard DOT edu |
In-Reply-To: | <01fe01c2cbd3$39221c70$696f86d9@webdev> from "Elfyn McBratney" at Feb 3, 3 10:24:33 pm |
MIME-Version: | 1.0 |
Elfyn McBratney wrote: > > > Are you saying it's a feature? If so, a feature of cygwin or > > of Windows? Under the Windows Command Prompt, cd " " does not > > complain, and leaves you in the current directory as you > > describe, but dir " " gives an error. This is certainly > > not how it works under other OSes. > > > I'm pretty sure it's a feature of SUSv3... Or one of the other POSIXy > standards. > > However I've been working for hours so my brain is fried and may be spewing > out random recollections '-) FWIW, I've just tested on Linux (of some flavor) and OpenBSD, and neither thinks ' ' is a directory. In any event, I'd like to figure out whether it's a bug or a feature under Cygwin so I can move forward. -Norton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |