delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/15/13:25:21

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT
X-Spam-Check-By: sourceware.org
Date: Wed, 15 Sep 2010 21:20:07 +0400
From: Andrey Repin <anrdaemon AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <33181387.20100915212007@mtu-net.ru>
To: Al <oss DOT elmar AT googlemail DOT com>, cygwin AT cygwin DOT com
Subject: Re: .exe magic reloaded 2
In-Reply-To: <AANLkTimrrA-cW8t9u=axyxQt+AyHcckybVRjksFYM6Bg@mail.gmail.com>
References: <AANLkTimrrA-cW8t9u=axyxQt+AyHcckybVRjksFYM6Bg AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Greetings, Al!

> I have another interesting case where .exe magic doesn't work as
> transparently as one would expect.

> I have a file python2.6.exe. A script tries to find it with "ls
> python2.?". It is not found.

I'm fairly certain, that the script is bugged in this specific case.
It should be looking for python2.* instead.
Minor version could have any length... potentially. (And yes, I know, there
wouldn't be .10 for now)

> Here the script needs a modification to work with Cygwin, but we can't
> really say that there is a bug in the script.


--
WBR,
 Andrey Repin (anrdaemon AT freemail DOT ru) 15.09.2010, <21:18>

Sorry for my terrible english...


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019