This is the mail archive of the
mailing list for the Cygwin project.
Re: No file name completion for file names start with underscore
- From: Gary Johnson <garyjohn at spocom dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 18 Sep 2014 15:19:43 -0700
- Subject: Re: No file name completion for file names start with underscore
- Authentication-results: sourceware.org; auth=none
- 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> <loom dot 20140918T223627-193 at post dot gmane dot org>
On 2014-09-18, Paul.Domaskis wrote:
> 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.
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
/usr/share/bash-completion/completions/find) does expect that
argument to be a directory and expands only directories.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple