[ -d ' ' ] && echo yes

Elfyn McBratney elfyn-cygwin@exposure.org.uk
Mon Feb 3 22:24:00 GMT 2003


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


Regards,

Elfyn McBratney
elfyn@exposure.org.uk
www.exposure.org.uk



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



More information about the Cygwin mailing list