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:message-id:date:from:reply-to:subject:to :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=SZFObLKWr/4Wab2Q+SDpo9Cjyso83oIAvLNiOXGgnfdr3iolo19mq 1aQQmWEw8GSSeK8vxgsA1U9Mvnz4V5WRVPS74AH81AhzkPn6mKPydVrCHNpOzHPn Wz+mYEp0Hp1XN2lnzGUV6mo/epxfnflAgja/OesKJcTtg+dHvNDGs8= 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:message-id:date:from:reply-to:subject:to :mime-version:content-type:content-transfer-encoding; s=default; bh=+DDWNsUdzjtDd+ap3aPyP0jfmqk=; b=txQOu33DENVT3Uz41gnCj+Q/6+aS cJJCT9Di4jYZD2qKxEIOO3TYq72G9GJKobop873AhAG6fxYPrr0MEwKUukC4DcjH 7FGnD4JoyB/grcdjeARhSxbOdSNjpyt/EYkEIY51uGy7vxnKy1fd9F1ObD8IhRD9 NRrn8NTEUKX3i+8= 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=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: nm43.bullet.mail.ne1.yahoo.com Message-ID: <1403111974.43795.YahooMailNeo@web172703.mail.ir2.yahoo.com> Date: Wed, 18 Jun 2014 18:19:34 +0100 From: Emmanuel Lepavec Reply-To: Emmanuel Lepavec Subject: How to strictly differentiate .exe with ??? To: "cygwin AT cygwin DOT com" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s5IHMZBG014288 Hello, I have an issue with the latest version of Cygwin (previously I was using an old one 1.5.25, I think...). When using basic commands such as 'ls', 'rm', now the shell resolve incorrectly filenames without extension. If a same file with '.exe' extension exists, it will be used. For example, take a directory with a single file 'a.exe'. $ ls -a .  ..  bar.exe $ ls bar bar $ rm bar rm: remove regular empty file `bar'? The command should have returned 'rm: cannot remove `bar': No such file or directory' If I want to delete only 'bar' (without extension), it will actually delete 'bar.exe' file. This is an unexpected behavior which pose an big issue in some of my build scripts. Is there some way to strictly differentiate 'bar' from 'bar.exe'? Thank you. -- 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