Files
mercury/benchmarks/progs/icfp2000/submit.sh
Paul Bone ea06fd8cde Add the benchmarks directory into the main Mercury repository.
This was a seperate repository in CVS and so it missed the conversion.

benchmarks/
    As above.
2013-01-04 12:13:53 +11:00

23 lines
515 B
Bash

#!/bin/sh
icfpaddress=icfp-sub@cs.cornell.edu
icfpsubject="ICFPsubmission"
infofile=$1
submissionfile=$2
## data must be valid rfc822 headers
## do not add white space to the beginning of lines
echo sending submission
cat ${infofile}
metasend -b -S 2200000 \
-t ${icfpaddress} \
-s ${icfpsubject} \
-f ${infofile} \
-e 7bit \
-m text/plain \
-n \
-f ${submissionfile} \
-e base64 \
-m application/octet-stream