delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/03/19/21:11:53

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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=rpR27GbbfS9va9oj
LwdkfbVRBXsWaBC3p+bnQMDoW0T4yhYDy7fEFUgxytHDesGP9ujOMWiLvoOXwBSH
Yid7Hwe3NWhoQpdB3GyUQRDzPoNNIVIRBewO3CP5PJNpB0DEJZMLxjZ2mnPSPxrm
AYn32rZoKokT0fPQPJxOECDD7Mc=
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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=ImFzgScZOO9GUd3KLInj07
tkLjo=; b=s9sRiaHmt9Ge2U7GjMzTvQ56U2EcLmEvrgM1nLVuE6CsEQE2OUbUTN
DUdLULA9aJapf3xkZJ7YAnxTnIApj4qj0TmpAT6FBp3Y4Nh5kx/Y0D6f0AxJwln8
KtfoFwXX0bkMiHzJRARnaqPTmJzWPMOalz06CL1udKGNv2T6ouzrY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=apr, rwxr-xr-x, rwxrxrx, oct
X-HELO: smtp-out-no.shaw.ca
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: Corner-case bug in .exe handling?
To: cygwin AT cygwin DOT com
References: <5400e6ecebaa25efa46f0011be3fc58b58c4a69c DOT camel AT cygwin DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Openpgp: preference=signencrypt
Message-ID: <57993eaa-5449-998d-31d8-49ebf6e83017@SystematicSw.ab.ca>
Date: Tue, 19 Mar 2019 19:11:35 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0
MIME-Version: 1.0
In-Reply-To: <5400e6ecebaa25efa46f0011be3fc58b58c4a69c.camel@cygwin.com>
X-IsSubscribed: yes

On 2019-03-19 16:02, Yaakov Selkowitz wrote:
> Just came across this with 3.0.4 on both Win7 and Win10 1804:
> 
> $ ls -1 /usr/bin/python2.7
> /usr/bin/python2.7
> $ ls -1 /usr/bin/python[2-9].[0-9]
> /usr/bin/python3.5
> /usr/bin/python3.6
> /usr/bin/python3.7
> /usr/bin/python3.8
> 
> python2.7 is the actual .exe where python3.* are symlinks, but
> shouldn't 2.7 still be included in the latter?

Implicit .exe files have not been matched by coreutils or findutils for quite a
while:

$ find /bin/ -name '*sh'
/bin/config-run2-example.sh
/bin/csh
/bin/fontname.sh
/bin/fontprop.sh
/bin/gettext.sh
/bin/gvfs-trash
/bin/instmodsh
/bin/ksh
/bin/listings-ext.sh
/bin/lprsetup.sh
/bin/mkzsh
/bin/ptksh
/bin/repo2solv.sh
/bin/source-highlight-esc.sh
/bin/src-hilite-lesspipe.sh
/bin/tclsh
/bin/tcsh
/bin/texhash
/bin/unix-lpr.sh
$ ls -glo /bin/*sh
-rwxr-xr-x 1  4290 Jul 17  2013 /bin/config-run2-example.sh
lrwxrwxrwx 1     8 Nov 24  2016 /bin/csh -> tcsh.exe
-rwxr-xr-x 1  1351 Mar 28  2006 /bin/fontname.sh
-rwxr-xr-x 1   929 Mar 28  2006 /bin/fontprop.sh
-rwxr-xr-x 1  4629 Oct 23  2016 /bin/gettext.sh
-rwxr-xr-x 1   277 Feb 19  2018 /bin/gvfs-trash
-rwxr-xr-x 1  4287 Dec  1 00:28 /bin/instmodsh
lrwxrwxrwx 1     8 Mar 23  2018 /bin/ksh -> mksh.exe
lrwxrwxrwx 1    58 May  7  2018 /bin/listings-ext.sh ->
/usr/share/texmf-dist/scripts/listings-ext/listings-ext.sh
-rwxr-xr-x 1  5470 Mar  9 11:22 /bin/lprsetup.sh
-rwxr-xr-x 1  1428 May  9  2018 /bin/mkzsh
-rwxr-xr-x 1 18572 Sep 27  2017 /bin/ptksh
-rwxr-xr-x 1  7859 Mar 23  2018 /bin/repo2solv.sh
-rwxr-xr-x 1  1017 Apr 11  2018 /bin/source-highlight-esc.sh
-rwxr-xr-x 1   490 Apr 11  2018 /bin/src-hilite-lesspipe.sh
lrwxrwxrwx 1    12 Dec 29  2017 /bin/tclsh -> tclsh8.6.exe
lrwxrwxrwx 1     8 Dec  7  2016 /bin/tcsh -> tcsh.exe
lrwxrwxrwx 1     8 May  7  2018 /bin/texhash -> mktexlsr
-rwxr-xr-x 1  4131 Mar  9 11:22 /bin/unix-lpr.sh
$ ls -glo /bin/*sh.exe
-rwxr-xr-x 3 100883 Feb 17  2017 /bin/ash.exe
-rwxr-xr-x 1 739859 Jan 27  2017 /bin/bash.exe
-rwxr-xr-x 3 100883 Feb 17  2017 /bin/dash.exe
-rwxr-xr-x 1 265747 Feb 27  2018 /bin/mksh.exe
-rwxr-xr-x 1 611490 Jun 11  2016 /bin/posh.exe
-rwxr-xr-x 1  12280 Dec  7  2017 /bin/ppmflash.exe
-rwxr-xr-x 3 100883 Feb 17  2017 /bin/sh.exe
-rwxr-xr-x 1 638483 Oct 19 04:43 /bin/ssh.exe
-rwxr-xr-x 1 372755 Nov 24  2016 /bin/tcsh.exe
-rwxr-xr-x 2  10259 Dec 24  2017 /bin/wish.exe
-rwxr-xr-x 1  10771 Jul 28  2013 /bin/xrefresh.exe
-rwxr-xr-x 2  10752 May  9  2018 /bin/zsh.exe

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

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