On Thu, Jan 16, 2003 at 08:59:07AM +0300, Alexander V. Lukyanov wrote: > find program (from findutils) does not recurse on symlinks too. > But find blah/. works with the patch, and find(1) similarly works with /. > appended.
Doing "find foo" (with findutils) doesn't recurse: lrwxr-xr-x 1 glenn users 6 Jan 16 01:25 blah -> ../6th/ 01:25am [EMAIL PROTECTED]/0 [~ftp/x] find blah blah Doing "find foo/" (trailing slash important), however, does: 01:26am [EMAIL PROTECTED]/0 [~ftp/x] find blah/ blah/ blah/19,November.zip blah/20, november.zip Specifically, it takes the directory portion of the argument (here, empty--and "blah", respectively), chdir's into it (if not empty), then recurses starting at the filename portion of the argument (here, "blah" and cwd, respectively). The initial implicit chdir isn't actually a recursion. -- Glenn Maynard