From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16750 invoked by alias); 18 Sep 2014 22:20:02 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 16720 invoked by uid 89); 18 Sep 2014 22:20:00 -0000 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 Received: from mail.spocom.com (HELO mail.spocom.com) (206.63.224.240) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 18 Sep 2014 22:19:59 +0000 Received: from localhost (spkdsl-116-45.cet.com [206.63.116.45]) by mail.spocom.com with SMTP; Thu, 18 Sep 2014 15:19:15 -0700 Date: Thu, 18 Sep 2014 22:55:00 -0000 From: Gary Johnson To: cygwin@cygwin.com Subject: Re: No file name completion for file names start with underscore Message-ID: <20140918221943.GA22077@phoenix> Mail-Followup-To: cygwin@cygwin.com References: <20140918000242.GA17489@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 X-SW-Source: 2014-09/txt/msg00296.txt.bz2 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