Initial Commit
[packages] / xemacs-packages / ess / etc / BACKBUG5.BAT
1 @echo off
2 rem ESS[BUGS]:  02/18/2004
3 rem runs BUGS taking commands from command file
4
5 if not "%2"=="" goto 20
6 if not "%1"=="" goto 10
7
8 echo usage: backbug5 [default_output_name] command_file
9 goto 40
10
11 :10
12 if exist bugs.bog attrib -r bugs.bog
13 bugs05.exe bugs.buf bugs.bog bugs.out bugs.ind bugs1.out bugs1.ind %1
14 copy /y bugs.log bugs.bog
15 attrib +r bugs.bog
16 goto 40
17
18 :20
19 set one=1
20 if exist %1.bog attrib -r %1.bog
21 bugs05.exe %1.buf %1.bog %1.out %1.ind %1%one%.out %1%one%.ind %2
22 copy /y %1.log %1.bog
23 attrib +r %1.bog
24 goto 40
25
26 :40