echo off
rem slifmt.cmd
if exist hyphen.tex goto ex
copy \emtex\texinput\hyphen.tex hyphen.tex
texp -i -8 -o -r splain \input 3 \dump
if errorlevel 1 goto error
goto done

:ex
echo The following files should be removed or renamed before running slifmt:
if exist hyphen.tex echo hyphen.tex
goto end

:error
echo Error

:done
if exist hyphen.tex del hyphen.tex
:end
