From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15640 invoked by alias); 27 May 2011 05:30:10 -0000 Received: (qmail 15370 invoked by uid 22791); 27 May 2011 05:29:45 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Fri, 27 May 2011 05:29:29 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 01ED22CB9E4; Fri, 27 May 2011 07:29:26 +0200 (CEST) Date: Fri, 27 May 2011 05:30:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: file system name case insensitivity issue: Possible inclusion for the FAQ or User Manual? Message-ID: <20110527052926.GE28752@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <4DDE9BE5.90105@veritech.com> <20110526193553.GB6015@ednor.casa.cgf.cx> <4DDEB0BA.9030903@veritech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4DDEB0BA.9030903@veritech.com> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-05/txt/msg00424.txt.bz2 On May 26 15:57, Lee D. Rothstein wrote: > On 5/26/2011 3:35 PM, Christopher Faylor wrote: > >On Thu, May 26, 2011 at 02:28:53PM -0400, Lee Rothstein wrote: > >>Issue: Possible confusing consequences of CYGWIN variable option: > >>glob:noignorecase > >> > >>What follows is an edited transcript of my confusion about trying > >>to find the command "xwin" (and eventual resolution), having > >>forgotten about its capitalization. More specifically, I was > >>trying to figure out if it was a binary or a script (not having > >>used X in the last year, or so). > >> > >>BTW, the reason I had glob:noignorecase set was to catch > >>capitalization errors on HTML file names I develop for a > >>LAMP server. > >Re: http://cygwin.com/cygwin-ug-net/using-cygwinenv.html > > > > (no)glob[:ignorecase] - if set, command line arguments containing > > UNIX-style file wildcard characters (brackets, question mark, asterisk, > > escaped with \) are expanded into lists of files that match those > > wildcards. This is applicable only to programs running from a DOS > > command line prompt. Default is set. > > > >There was no DOS command line prompt in anything below. > > > True. So, you're saying that 'glob:noignorecase' had no effect on > the commands executed. Then the issue that the transcript reveals > is that in Cygwin, case sensitivity only affects filename specs > if globbing is used. That may, in fact, have been covered somewhere > in the documentation. (?) You got that wrong. The CYGWIN=glob:... option only affects how globbing is performed on the command line arguments if the Cygwin process has been started from a native Windows process. Full stop. Now, actual filename case sensitivity is an entirely different issue. This is handled by a registry setting, the ability of the underlying filesystems to handle filenames case sesitive, and the settings of the Cygwin mount point: http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-casesensitive http://cygwin.com/cygwin-ug-net/using.html#mount-table Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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