*** empty log message ***
[ess.git] / etc / backbug5
blobce0a4c105158568f46800060af76a9fad00fae8b
1 #!/bin/sh
2 # ESS[BUGS]: 02/18/2004
3 # runs BUGS taking commands from command file
6 case `config.guess` in
7 alpha*-dec-*) BUGS=bugs05.decalpha;;
8 hppa*-hp-hpux*) BUGS=bugs05.hp;;
9 i?86-pc-cygwin) BUGS=bugs05.exe;;
10 i?86-*-freebsd*) BUGS=bugs05.freebsd;;
11 powerpc*-*-*) BUGS=bugs05.rs6000;;
12 sparc-sun-solaris*) BUGS=bugs05.sparc;;
13 mips-sgi-irix*) BUGS=bugs05.sgi;;
14 mips-dec-*) BUGS=bugs05.decmips;;
15 esac
17 case $# in
18 1) test -f bugs.bog && rm -f bugs.bog || true
19 $BUGS bugs.buf bugs.bog bugs.out bugs.ind bugs1.out bugs1.ind $1
20 chmod -w bugs.bog
22 2) test -f $1.bog && rm -f $1.bog || true
23 $BUGS $1.buf $1.bog $1.out $1.ind ${1}1.out ${1}1.ind $2
24 chmod -w $1.bog
26 *) echo "usage: $0 [default_output_name] command_file";;
27 esac