From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29962 invoked by alias); 26 May 2011 19:36:57 -0000 Received: (qmail 29785 invoked by uid 22791); 26 May 2011 19:36:56 -0000 X-SWARE-Spam-Status: No, hits=-0.3 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,TW_RW,TW_WX,TW_XR,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org Received: from nm11-vm0.bullet.mail.bf1.yahoo.com (HELO nm11-vm0.bullet.mail.bf1.yahoo.com) (98.139.213.136) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Thu, 26 May 2011 19:36:42 +0000 Received: from [98.139.212.148] by nm11.bullet.mail.bf1.yahoo.com with NNFMP; 26 May 2011 19:36:41 -0000 Received: from [98.139.211.206] by tm5.bullet.mail.bf1.yahoo.com with NNFMP; 26 May 2011 19:36:41 -0000 Received: from [127.0.0.1] by smtp215.mail.bf1.yahoo.com with NNFMP; 26 May 2011 19:36:40 -0000 Received: from cgf.cx (cgf@173.48.46.160 with login) by smtp215.mail.bf1.yahoo.com with SMTP; 26 May 2011 12:36:25 -0700 PDT X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o- Received: from localhost (ednor.casa.cgf.cx [192.168.187.5]) by cgf.cx (Postfix) with ESMTP id AD2FE42804D for ; Thu, 26 May 2011 15:35:53 -0400 (EDT) Date: Thu, 26 May 2011 19:36:00 -0000 From: Christopher Faylor To: cygwin@cygwin.com Subject: Re: file system name case insensitivity issue: Possible inclusion for the FAQ or User Manual? Message-ID: <20110526193553.GB6015@ednor.casa.cgf.cx> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <4DDE9BE5.90105@veritech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DDE9BE5.90105@veritech.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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/msg00405.txt.bz2 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. cgf >The transcript, however, indicates the option will not achieve my >aim. >-- >/ $ cd /bin > >/bin $ echo $CYGWIN >tty title nodosfilewarning glob:noignorecase winsymlinks ntsec > >/bin $ type xwin >/bin/xwin > >/bin $ which xwin >/bin/xwin > >/bin $ ls -l xwin >-rwxrwx--- 1 lr root 2080270 Apr 22 14:45 xwin > >/bin $ ls -l xwin* >-rwxr-xr-x 1 lr root 24590 Oct 14 2009 xwininfo.exe >-rwxr-xr-x 1 lr root 172544 Jan 19 2009 xwinwm.exe > ># 'rwhich' is a case insensitive regex command finder script, ># I wrote, not a part of the Cygwin distribution > >/bin $ rwhich $ rwhich xwin >/local/Scripts/start_xwin.old >/bin/dmxwininfo.exe >/bin/lyxwin.exe >/bin/startxwin.exe >/bin/XWin.exe >/bin/xwininfo.exe >/bin/xwinwm.exe > >/bin $ ls -l XWin* >-rwxrwx--- 1 lr root 2080270 Apr 22 14:45 XWin.exe > >/bin $ xwin >-- > >-- >And, yes, had I thought of it first, I could have used 'file': > >/bin $ file xwin >xwin: PE32 executable (GUI) Intel 80386 (stripped to external PDB), for >MS Windows > >but the capitalization issue remains. > >Finally, I am aware of the change that can be made to the >registry that will make the file system case sensitive, but I've >been burned in the past by non-standard changes to the registry, >and will avoid that. > >BTW, it's little excursions like this that make me value Cygwin >more, not less. Creating the illusion of a coherent *NIX >environment on Windows is non-trivial. Thanks, Cygwin developers. > >Lee > > > > >-- >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 > > -- 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