delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/06/20/20:04:56

From: Jon_Witort AT geoworks DOT com (Jon Witort)
Subject: find.exe truncating search on <foo>/<foo>
20 Jun 1997 20:04:56 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199706210235.TAA23411.cygnus.gnu-win32@nasturtium.geoworks.com>
Reply-To: Jon_Witort AT geoworks DOT com
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019