delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/12/00:29:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <4143D122.B7BA2D15@dessent.net>
Date: Sat, 11 Sep 2004 21:31:30 -0700
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: What is executable or not...?
References: <41439D4D DOT 1050001 AT tlinx DOT org>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

linda w wrote:

> When I am in bash, I can type a completion char for my executable and it
> will
> give me a list of all the executables that could complete my command.
> 
> The command completion doesn't give a complete listing of all files, but
> oddly,
> it does include  many ".dll's", most that would seem to be
> non-executable...like:

Because to bash any file with the 'x' bit set is an executable.  This is
how it works in *nix / posix and that's what Cygwin is emulating.  I
think if you were to "chmod a-x" your DLLs you'd run into serious
problems so I suggest you not do that.

You should read the bash manual section 8.6:
<http://www.gnu.org/software/bash/manual/bashref.html#SEC112>  You could
probably change the completion behavior so that "*.[dD][lL][lL]" doesn't
match, if it really bothers you.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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