find.exe truncating search on <foo>/<foo>

Jon Witort Jon_Witort@geoworks.com
Fri Jun 20 19:35:00 GMT 1997


Let's try that again, only without a line containing only a single "."

I'm having some trouble with find.exe v4.1 that doesn't seem to have been
mentioned in either the FAQ or the archive for this group. The problem is
that find.exe is truncating its search whenever it finds a directory with
the same name as its parent, like so:
 
1> mkdir test\foo\foo
2> cd test
3> touch foo\foo\xyz
4> find
./foo
./foo/foo
 
Notice that xyz was not found. Changing either of the foo's fixes the problem:
 
5> rename foo bar
6> find
./bar
./bar/foo
./bar/foo/xyz
7> find -version
GNU find version 4.1
 
I've tried every variation I can think of, with the same results. If anyone
knows of a workaround, I'd appreciate it.
 
thanks,
jon
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list