anchor.diff:  
   REM ### ghacks-user.js updater for Windows
   REM ## author: @claustromaniac
  -REM ## version: 2.2
  +REM ## version: 3.0-alpha57
   
   SET _myname=%~n0
   SET _myparams=%*
  
positive.code: 		IF %ERRORLEVEL% EQU 0 (
  			IF DEFINED _merge (
  				ECHO.
  				ECHO Merging not supported yet...
  				ECHO.
  			) ELSE (
  				ECHO.
  				ECHO Appending...
  
negative.code: 	IF NOT DEFINED _ua PAUSE
  )
  :end
  IF DEFINED _logp (
  	START user.js-update-log.txt
  )
  EXIT /B
  
  REM Function section starts below here
  
  :mergeprefs
  FOR /F "tokens=* delims=" %%G IN (%~1) DO (
  	SET _pref=%%G
  	SET "_temp=!_pref: =!"
  	IF /I "user_pref"=="!_temp:~0,9!" (
  		FOR /F "delims=," %%S IN ("!_pref!") DO (
  			SET _pref=%%S
  		)
  		SET _pref=!_pref:"=""!
  		FIND /I "!_pref!" %~2 >nul 2>&1
  		IF ERRORLEVEL 1 (
  			FIND /I "!_pref!" %~1 >temp123
  			FOR /F "tokens=* delims=" %%X IN (temp123) DO (
  				SET _temp=%%X
  				SET "_temp=!_temp: =!"
  				IF /I "user_pref"=="!_temp:~0,9!" (
  					SET _pref=%%X
  				)
  			)
  			ECHO !_pref!>>%~2
  		)
  	) ELSE (
  		ECHO !_pref!>>%~2
  	)
  )
  DEL /F temp123 2>nul
  REM DEL /F %~1 2>nul
  GOTO EOF
  REM end of mergeprefs
  
  :EOF
  