anchor.diff:  :#   2013-04-03 JFL First try ezWinPorts versions of find & grep, which are   #
   :#                  much faster than the others. (Specially the 64-bits one)  #
   :#   2013-04-04 JFL The ezWinPorts versions already end lines with crlf.      #
  -:#                  Made the -d optional before the directory name.           #
  +:#                  Made the -D optional before the directory name.           #
   :#                  Added option -v.                                          #
   :#   2013-04-05 JFL Added support for the gnuwin32 and mingw ports.           #
  +:#   2016-10-11 JFL Added options -d, -l, -L.                                 #
   :#                                                                            #
   :#          Copyright 2016 Hewlett Packard Enterprise Development LP         #
   :# Licensed under the Apache 2.0 license  www.apache.org/licenses/LICENSE-2.0 #
   :##############################################################################
   
   setlocal EnableExtensions EnableDelayedExpansion
  -set "VERSION=2013-04-05"
  +set "VERSION=2016-10-11"
   set "SCRIPT=%~nx0"
   set "SCRIPT_DRIVE=%~d0"
   set "SCRIPT_PATH=%~dp0" & set "SCRIPT_PATH=!SCRIPT_PATH:~0,-1!"
  
positive.code: echo   -i          Ignore case in the search string
  echo   -j          Ignore case in the file name (default)
  echo   -J          Do not ignore case in the file name
  echo   -m          Use the mingw.sourceforge.net port (5th choice)
  echo   -n {name*}  Name template. Default: *.*
  echo   -r          Recursive search in all subdirectories
  
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%
  