Mail Archives: djgpp-workers/2001/10/11/03:55:23
On Wed, 10 Oct 2001, Charles Sandmann wrote:
> For example, the new executable:
> find . -name '*cvs*'
> does not find .cvsignore or .cvs but does find !.cvs (on NT 4.0 with lfn tsr).
>
> I see the exact same behavior on Win2K. Same behavior on XP RC1. I see the
> same behavior with the simtel binary.
>
> I don't have any Win 9x systems to test on.
I just did, and I see the same behavior. Which is what I'd expect: by
default, files with the initial dot are not found by `find' (they are
``hidden'' in Unix, remember?). You need to use -path instead of
-name to override that, or mention the dot explicitly, as in
find -name '.*cvs*'
> What exactly is the expected behavior and which systems show it?
What you see is the expected behavior. What Tim reported is something
strange, which is either a bug or due to real differences in file
names as recorded on disk.
- Raw text -