anchor.diff:  :# Search for the unxutils.sourceforge.net port of a Unix program.
   :UnxUtils %1=program. Returns variable %1 set to the exe full pathname.
   :# Search in the standard location, or underneath this script directory.
  -for %%p in ("%SCRIPT_PATH%" "%SCRIPT_DRIVE%" "C:") do (
  +call :FindInPath UnxUtils IN_PATH
  +for %%p in ("%SCRIPT_PATH%" %IN_PATH% %SCRIPT_DRIVE% C:) do (
     if .%DEBUG%.==.1. echo Checking "%%~p\UnxUtils\usr\local\wbin\%~1.exe"
     if exist "%%~p\UnxUtils\usr\local\wbin\%~1.exe" (
       set "%~1=%%~p\UnxUtils\usr\local\wbin\%~1.exe"
  
positive.code: :#                  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=2016-10-11"
  set "SCRIPT=%~nx0"
  set "SCRIPT_DRIVE=%~d0"
  set "SCRIPT_PATH=%~dp0" & set "SCRIPT_PATH=!SCRIPT_PATH:~0,-1!"
  
negative.code: :# 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% ";"
  :# 2016-12-15 JFL Add that pair back, but for UnxUtils only, which fails without it for files with spaces in their name.
  if not "%grep:UnxUtils=%"=="%grep%" set CMDLINE=%CMDLINE:"{}"="""{}"""%
  if %VERBOSE%==1 echo %CMDLINE%
  if %VERBOSE%==0 if %NOEXEC%==1 echo %CMDLINE%
  :# Filter the output, to change Unix / in the files paths to Windows \
  :# The output is structured like: PATHNAME:LINE
  :# Problem: The PATHNAME itself may contain a : after the drive name.
  :# This does not always occur. For example the default path is .
  setlocal DisableDelayedExpansion
  if %NOEXEC%==0 %FOREACHLINE% %%l in ('%CMDLINE%') do (
    set "LINE=%%l"
    setlocal EnableDelayedExpansion
    if "!LINE:~1,1!"==":" (	:# The file pathname begins with a drive name
      set "HEAD=!LINE:~0,2!"
      set "TAIL=!LINE:~2!"
    ) else (			:# The file pathname is a relative name
      set "HEAD="
      set "TAIL=!LINE!"
    )
    for /f "tokens=1* delims=:" %%n in ("!TAIL!") do (
      setlocal DisableDelayedExpansion
      set "NAME=%%n"
      set "TEXT=%%o"
    )
    setlocal EnableDelayedExpansion
    echo !HEAD!!NAME:/=\!:!TEXT!
    endlocal
    endlocal
    endlocal
  )
  