Source

ess / etc / BACKBUGS.BAT

Full commit
@echo off
rem ESS[BUGS]:  07/31/2001
rem runs BUGS taking commands from command file

if not "%3"=="" goto 30
if not "%2"=="" goto 20
if not "%1"=="" goto 10

echo usage: backbugs [[number_of_bins] default_output_name] command_file
goto 40

:10
bugs0603.exe 32 bugs %1
copy /y bugs.log bugs.bog
del bugs.buf
goto 40

:20
bugs0603.exe 32 %1 %2
copy /y %1.log %1.bog
del %1.buf
goto 40

:30
bugs0603.exe %1 %2 %3
copy /y %2.log %2.bog
del %2.buf

:40