delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/18/16:54:27

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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=CkORAuyJzoW2ZQBzdN2yrAEWFmVtuFhufOh+K/i/ac6r3Eo+Ew3p5
z/Ry0TMwFdv2YSEMhnRlZ1lkD4uih7YtNe9D99xPGnGldrGF6xyWSEwCznyqv4C3
ztDNb3cssh4QlLBgPLYNIL0s0biNe9jrTAUoipV73bAAc/rsE3dIKM=
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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=pgMuMdSurh1DB++r/6kRBEXFYBc=; b=QmMIYE8R9kjhzg3QQKAztZaJ4Edt
P1DUvrCtRhjN+dG+kzTBQF8jQgaTHxe7qmC3MbIlm3kIDeFJWFbFwfsVWD2NXcVS
RvbDC6Onixn8H8hgIdkvsyGgyr0upRHeo/PpYmBR+NU5qmTAyIW+JGNTp0GEnSeS
4cyt+/CRa7oH2/A=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: "Paul.Domaskis" <Paul DOT Domaskis AT gmail DOT com>
Subject: Re: No file name completion for file names start with underscore
Date: Thu, 18 Sep 2014 20:53:54 +0000 (UTC)
Lines: 28
Message-ID: <loom.20140918T223627-193@post.gmane.org>
References: <loom DOT 20140918T010225-301 AT post DOT gmane DOT org> <loom DOT 20140918T011028-898 AT post DOT gmane DOT org> <loom DOT 20140918T012259-677 AT post DOT gmane DOT org> <20140918000242 DOT GA17489 AT phoenix> <CACUHbYP+hmbvkVK_dO_C6H3QMLO3zGH+sK2fSovHox3XLUsWUQ AT mail DOT gmail DOT com> <lvf9re$l0j$1 AT ger DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Andrew DeFaria <Andrew <at> DeFaria.com> writes:
>On 9/18/2014 11:42 AM, David Boyce wrote:
>>> The path argument to find must be a directory.
>>
>> Sorry, but I can't let this go by. The statement above is
>> incorrect, as a simple test like "find /etc/passwd -print" would
>> show.
> 
> Or just "find /etc/passwd". (-print has been the default for
> decades...  The man page it's the default but you should proob)

Maybe things have changed.  I think Gary Johnson is right.

For background, my old 32-bit cygwin 1.7.17-1 install (bash 4.1.10-4),
"cygcheck -cvs | grep -i completion" shows no packages with the string
"completion" in the name.  And if I have files (not directories)
_viminfo & _vimrc, tabbing after "find _vi" does a completion up to
"find _vim", then shows me the two candidate files thereafter.

In my new 64-bit cygwin 1.7.28-2 (bash 4.1.11-2, bash-completion
1.3-1), I also have _viminfo & _vimrc, but "find _vi" doesn't
complete, nor does it show candidate files.  I ensured that I have
directories vimfiles and vimtest, and "find vi" does complete up to
"find vim", then shows me the two candidate directories thereafter.

On the other hand, in the new 64-bit cygwin, "ls vi" and "ls _vi"
*always* completes as much as it can, then shows me the two candidates
thereafter.


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