delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/10/15:58:05

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Eric Backus <eric_backus AT agilent DOT com>
Subject: Re: Bug: cygport fails when the working directory pathname contains spaces
Date: Wed, 10 Feb 2010 20:57:29 +0000 (UTC)
Lines: 20
Message-ID: <loom.20100210T214518-631@post.gmane.org>
References: <2BF01EB27B56CC478AD6E5A0A28931F2A68982 AT A1DAL1SWPES19MB DOT ams DOT acs-inc DOT net> <679765 DOT 96059 DOT qm AT web25502 DOT mail DOT ukl DOT yahoo DOT com>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019