X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_56 X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: ls and wildcards Date: Tue, 14 Jul 2009 11:08:41 -0500 Message-ID: <786EBDA1AC46254B813E200779E7AD361E7185@srv1163ex1.flightsafety.com> In-Reply-To: References: <786EBDA1AC46254B813E200779E7AD361E7155 AT srv1163ex1 DOT flightsafety DOT com> From: "Thrall, Bryan" To: "Karl M" Cc: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 http://cygwin.com/acronyms/#PPIOSPE Karl M wrote on Tuesday, July 14, 2009 10:37 AM: >> Subject: RE: ls and wildcards >> Date: Tue, 14 Jul 2009 10:26:19 -0500 >> From: bryan.thrall >>=20 >> Karl M wrote on Tuesday, July 14, 2009 10:17 AM: >>=20 >>> Hi All... >>>=20 >>> I just noticed while looking around after updating dash that "ls /bin/*sh" >>> does not find bash and dash, but it does on my Fedora core 6 machine at >>> work. I see the issue in both 1.5 and 1.7, attached is an example in cygwin >>> 1.7.=20 >>>=20 >>> Thanks, >>>=20 >>> ...Karl >>=20 >> I can reproduce this (for bash, anyway; I don't have dash installed), plus: >>=20 >> $ ls /bin/*sh.exe >> /bin/ash.exe /bin/ksh.exe /bin/ppmflash.exe /bin/sh.exe /bin/tclsh.exe >> /bin/bash.exe /bin/pdksh.exe /bin/rsh.exe /bin/ssh.exe /bin/wish.exe >>=20 > So it is an issue with the exe magic and ls. The .exe files are not found. >=20 > Is the intended behavior? See Eric and Corinna's replies to the mailing list; apparently, it is a deficiency in glob() and fnmatch(). --=20 Bryan Thrall FlightSafety International bryan DOT thrall AT flightsafety DOT com -- 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