File: BACKBUG5.BAT

package info (click to toggle)
ess 5.3.8~svn3917-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 10,888 kB
  • ctags: 1,686
  • sloc: lisp: 16,923; sh: 1,433; asm: 862; makefile: 286; xml: 193
file content (26 lines) | stat: -rw-r--r-- 530 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@echo off
rem ESS[BUGS]:  02/18/2004
rem runs BUGS taking commands from command file

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

echo usage: backbug5 [default_output_name] command_file
goto 40

:10
if exist bugs.bog attrib -r bugs.bog
bugs05.exe bugs.buf bugs.bog bugs.out bugs.ind bugs1.out bugs1.ind %1
copy /y bugs.log bugs.bog
attrib +r bugs.bog
goto 40

:20
set one=1
if exist %1.bog attrib -r %1.bog
bugs05.exe %1.buf %1.bog %1.out %1.ind %1%one%.out %1%one%.ind %2
copy /y %1.log %1.bog
attrib +r %1.bog
goto 40

:40