X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=gT5 MNZVbn0W/Nyz3z/QbOGrC50r10mXDaGzGN5NE5WttqLGNGT2mj97YbLE+CV+lB0E 5Qjdyd0cZedZUlFMUpSv3x5Ri3CT/WlJdrycjZjfPIrqVvCXLfR5jMsk4OWR1Tr8 BPcehoK3E4m8bZ1SRhPjuI+FkxUhn+YdeJoQbn3g= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:mime-version :content-type:content-transfer-encoding; s=default; bh=jsAek9951 OWuVNEABqaZwKQRWc4=; b=Iy0FpE9UHCs3uF11WKF/K7cK1hEtGKTzssPR35Tem hLV+Xy2EL2CjLv7yvL+bAeAjuCW0f8+54l0pgAlcHKxldtFypgd1upv4vn+f9bwj MWKlUYCp0ZdN/K+aygWe0UPqAepFD0yN/Qe1HYca0kqBetOqd+yM+jSQz1Q8NFIz jE= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Paul Subject: Unwanted case-insensivity in file name globbing Date: Tue, 10 Nov 2015 03:15:16 +0000 (UTC) Lines: 32 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes I just replicated my Cygwin setup on Win 7 (64 bits) onto another Win 7 64- bit machine, including /etc/fstab c: /c ntfs binary,posix=0,user,auto d: /d ntfs binary,posix=0,user,auto e: /e ntfs binary,posix=0,user,auto f: /f ntfs binary,posix=0,user,auto g: /g ntfs binary,posix=0,user,auto i: /i ntfs binary,posix=0,user,auto o: /o ntfs binary,posix=0,user,auto r: /r ntfs binary,posix=0,user,auto s: /s ntfs binary,posix=0,user,auto So my home directory "~" is "C:\cygwin64\home\My.User.Name". I noticed that when I issue a command involving a file name pattern, it is not case sensitive in that directory. For example, "ls -d [A-Z]*" will return the folder "cat". Web searching revealed that it could be the bash shell option nocaseglob, but I confirmed that in my case, it is not set: $ shopt -p nocaseglob shopt -u nocaseglob I am also puzzled by the fact that when I cd to a subdirectory, the unwanted case insensivity is no longer present. I thought that I did something wierd in replicating my Cygwin setup, but when I tested my original setup on the 1st computer, I found the same selective case insensitivity. What other setting might cause this? How can I get bonafide Unix behaviour in the file name globbing? -- 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