anchor.diff:  :#  History:                                                                  #
   :#   2010-05-04 JFL Changed the default to case-insensitive name matching.    #
   :#                  Added options -j and -J.                                  #
  -:#                  Renamed option -in as -d.                                 #
  +:#                  Renamed option -in as -D.                                 #
   :#   2010-10-29 JFL Dynamically detect the tools path.			      #
   :#                  Added partial support for SUA Unix tools.                 #
   :#                  Added options -r and changed the default to non-recursive.#
  
positive.code: set "VERBOSE=0"
  set "NOEXEC=0"
  set "FROM=."
  set "CASE="
  set "-NAME=-iname"
  set "NAME="
  set "-MAXDEPTH=-maxdepth 1"
  
negative.code:   shift
  )
  if .%NAME%.==.. set "-NAME="
  set "FINDOPTS=-type f"
  if defined -MAXDEPTH set "FINDOPTS=%-MAXDEPTH% %FINDOPTS%"
  if defined -NAME set "FINDOPTS=%FINDOPTS% %-NAME%"
  if defined NAME set "FINDOPTS=%FINDOPTS% %NAME%"
  :# Note: The "" around %1 are necessary to support strings with spaces.
  :# Note: The "" around {} are necessary to support pathnames with spaces.
  :# 2013-04-03 JFL Removed one pair of "quotes" around {}, as the third pair caused the ezWinPorts grep to fail.
  set CMDLINE=%find% %FROM% %FINDOPTS% -exec %grep%%GREPOPTS% -- %1 "{}" %NUL% ";"
  if %VERBOSE%==1 echo %CMDLINE%
  if %VERBOSE%==0 if %NOEXEC%==1 echo %CMDLINE%
  if %NOEXEC%==0 %CMDLINE% %FILTER%
  