unix-conf/.emacs.d/elpa/ess-20160208.453/etc/backbug5.sparc
2016-02-18 14:53:30 +01:00

21 lines
406 B
Bash

#!/bin/sh
# ESS[BUGS]: 02/17/2004
# runs BUGS taking commands from command file
#
case $# in
1) bugs05.sparc 32 bugs $1
cp -fp bugs.log bugs.bog
chmod -w bugs.bog
;;
2) bugs05.sparc 32 $1 $2
cp -fp $1.log $1.bog
chmod -w $1.bog
;;
3) bugs05.sparc $1 $2 $3
cp -fp $2.log $2.bog
chmod -w $2.bog
;;
*) echo "usage: $0 [[number_of_bins] default_output_name] command_file";;
esac