2 # ESS[BUGS]: 02/18/2004
3 # runs BUGS taking commands from command file
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
;;
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
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
26 *) echo "usage: $0 [default_output_name] command_file";;