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:date:from:to:subject:message-id:references :mime-version:content-type:in-reply-to; q=dns; s=default; b=KuHq //gYEfL7woRim293R8/uSVvCEC181c7ynjf+bLuXpSFKp28bukL/Z2q/xyOAR1Rn mfdtyoYzYm1k9vrxdq5diIHCkA74IVw52qLKBhb7y7Mp6LdUQb4+OIRJHjRzRH5r LaZfU2u3KE/GW6jh+h5H3P//eMayPq9VT9SKu9Y= 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:date:from:to:subject:message-id:references :mime-version:content-type:in-reply-to; s=default; bh=AXe67w0jYa CCNK+hGDdSlOnT/Ro=; b=tH8WARKTF4plzoWR85AbRamS5CJ+Jd2bgvseilW9AG jdDMWcn2meCktRJ9P3PzUG2mBdnEfDyg/g/pEsero01XCDoQWw7QDJhzApCONAKW wAVF7x9iXzqI0bGEkGjZr7fQRp50z4clRynS7VboOY68k/O59IHuH7ob8+zT/T/p w= 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=-2.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail.spocom.com Date: Thu, 18 Sep 2014 15:19:43 -0700 From: Gary Johnson To: cygwin AT cygwin DOT com Subject: Re: No file name completion for file names start with underscore Message-ID: <20140918221943.GA22077@phoenix> Mail-Followup-To: cygwin AT cygwin DOT com References: <20140918000242 DOT GA17489 AT phoenix> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes On 2014-09-18, Paul.Domaskis wrote: > Andrew DeFaria 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. David is right: find does accept a file name as the path argument. I didn't know that. (Obviously.) The man page doesn't really say, but all references to the path argument suggest that it contains a directory or list of directories. Nevertheless, the completion function for find (_find(), in /etc/bash_completion.d/findutils or /usr/share/bash-completion/completions/find) does expect that argument to be a directory and expands only directories. Regards, Gary -- 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