~ubuntu-branches/ubuntu/edgy/ess/edgy

« back to all changes in this revision

Viewing changes to etc/BACKBUG5.BAT

  • Committer: Bazaar Package Importer
  • Author(s): Camm Maguire
  • Date: 2005-03-22 13:48:07 UTC
  • mfrom: (1.2.1 upstream) (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050322134807-9mpmbb799jugf248
Tags: 5.2.6-1
* New upstream release
* chmod -R u+w on orig source

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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