Bug: cygport fails when the working directory pathname contains spaces

Eric Backus eric_backus@agilent.com
Wed Feb 10 20:58:00 GMT 2010


Marco Atzeri <marco_atzeri <at> yahoo.it> writes:

> Don't use filename with a space inside is a WELL KNOWN
> rule of any UNIX system.
> If MS made a stupid decision, we should not follow it. 
> 
> Regards
> Marco

It really doesn't matter to me whether cygport supports filenames with 
spaces.  And it is certainly true that filenames with spaces are relatively 
common on Windows systems, but relatively rare on unix systems.

Nevertheless, there is no rule about this.  Actually I believe POSIX allows 
filenames to have *any* character in them except a directory separator '/' or 
a terminating null '\0'.  It is well known that *robust* scripts should use 
proper quoting to allow for things like spaces in filenames.
-- 
Eric



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list