Author Topic: weird search result  (Read 1878 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
weird search result
« on: April 20, 2017, 06:49:52 PM »
I did a FiF for "127" in C:\ in "blat.h":     _mffind2("127",'I','+t c:\',"blat.h",'',"96",'1');

Find all "127", Subfolders, "c:\", "blat.h"
....
Total found: 312     Matching files: 293     Total files searched: 935

I don't understand the summary line.
I have 293 files called "blat.h" on my machine ("dir C:\blat.h /s/b" reports 1,563 files because dir follows junctions and symlinks).

Slick correctly reports "Matching files: 293"
So, why is Slick reporting that it searched 935 files?


Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6864
  • Hero Points: 528
Re: weird search result
« Reply #1 on: April 26, 2017, 03:09:03 PM »
Are the symbolic links/junctions referencing locations on C:\?

I'm guessing that dir may be counting some files twice. If you use the +ssymlinks/+ssymlinkdirs SlickEdit will try to resolve directories and screen out files which are actually the same file.

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Re: weird search result
« Reply #2 on: April 26, 2017, 06:11:02 PM »
I do have
VSLICK=+ssymlinkdirs
set.

Even so, Slick does follow Junctions - so that answers it.