anchor.diff:  :#   2019-11-30 JFL Created this script.				      #
   :#   2019-12-09 JFL Display which server was used.			      #
   :#   2019-12-13 JFL Display an error message if curl failed.		      #
  +:#   2020-07-03 JFL Added options -c & -t to select the github server to use. #
  +:#		    Added option -t to use an authentication token.           #
  +:#		    Added option -s to use a given github server API URL.     #
   :#		                                                              #
   :#         © Copyright 2019 Hewlett Packard Enterprise Development LP         #
   :# Licensed under the Apache 2.0 license  www.apache.org/licenses/LICENSE-2.0 #
   :##############################################################################
   
   setlocal EnableExtensions DisableDelayedExpansion
  -set "VERSION=2019-12-13"
  +set "VERSION=2020-07-03"
   set "SCRIPT=%~nx0"		&:# Script name
   set "SNAME=%~n0"		&:# Script name, without its extension
   set "SPATH=%~dp0"		&:# Script path
  
positive.code: set ^"ARG0=%0^"			&:# Script invokation name
  set ^"ARGS=%*^"			&:# Argument line
  
  set "GITHUB=https://api.github.com"
  :# Within HPE, prefer HPE's corporate github server
  :# Also this avoids having to configure the http_proxy environment variable.
  nslookup github.hpe.com. 2>NUL | findstr /r /c:"[ 	]github.hpe.com$" >NUL
  if not errorlevel 1 set "GITHUB=https://github.hpe.com/api/v3"
  
  goto :main
  
  
negative.code: call :condquote NXMD
  echo # Converting %NXMD% using %SERVER%
  
  :# Load the authentication token from "%USERPROFILE%\.config\md2h\%SERVER%.txt" if present
  if not defined TOKEN (
    for %%f in ("%USERPROFILE%\.config\md2h\%SERVER%.txt") do if exist %%f (
      for /f "delims=" %%t in (%%~sf) do set "TOKEN=%%~t"
    )
  )
  
  set "LT=<"
  set "GT=>"
  
  