This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: No file name completion for file names start with underscore

On 2014-09-18, Paul.Domaskis wrote:
> Andrew DeFaria <Andrew <at>> 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.


Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]