Author Topic: weird search result  (Read 228 times)

jporkkahtc

  • Senior Community Member
  • Posts: 1220
  • Hero Points: 88
  • 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: 3662
  • Hero Points: 236
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: 1220
  • Hero Points: 88
  • 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.