Annotation of OpenXM/src/asir-port/cgi/cgi-cmle.sh, Revision 1.1
1.1 ! takayama 1: #!/bin/bash
! 2: # $OpenXM$
! 3: ## Replace $OpenXM_HOME by an absolute path of your cite.
! 4: export OpenXM_HOME=/private/taka/OpenXM
! 5: export HOME=/tmp
! 6: source $OpenXM_HOME/rc/dot.bashrc
! 7: #source /home/taka/OpenXM/rc/dot.bashrc
! 8: export TMP=/tmp
! 9: export CGI_ASIR_ALLOW="[(version) (asir_contrib_copyright) (gtt_ekn.cmle_3) (gtt_ekn.expectation) (number_eval)]"
! 10: export CGI_ASIR_TLIMIT="3600"
! 11: export OX_ASIR_LOAD_FILE=$OpenXM_HOME/src/asir-contrib/packages/src/gtt_ekn.rr
! 12: export CGI_ASIR_MSG="<pre>
! 13: Example. gtt_ekn.cmle_3([[3,3,1],[9,1,1]])
! 14: </pre><br>"
! 15: WFILE=/tmp/tmp-post-$$.txt
! 16: tee /tmp/t.txt | oxdecode_post >${WFILE}
! 17: env CONTENT_LENGTH=`wc -m ${WFILE} | awk '{print $1}'` sm1 -q -s "[(parse) (cgiasir.sm1) pushfile] extension oxNoX cgiAsir quit " <${WFILE}
! 18: rm -f ${WFILE}
! 19: exit 0
! 20:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>