Annotation of OpenXM/src/asir-port/cgi/cgi-asir.sh, Revision 1.6
1.1 takayama 1: #!/bin/bash
1.4 takayama 2: # $Id: cgi-asir.sh,v 1.7 2005/02/27 07:09:16 taka Exp $
1.6 ! takayama 3: # $OpenXM: OpenXM/src/asir-port/cgi/cgi-asir.sh,v 1.5 2013/09/26 04:13:40 takayama Exp $
1.1 takayama 4: ## Replace $OpenXM_HOME by an absolute path of your cite.
1.6 ! takayama 5: export OpenXM_HOME=/private/taka/OpenXM
! 6: source $OpenXM_HOME/rc/dot.bashrc
! 7: #source /home/taka/OpenXM/rc/dot.bashrc
1.1 takayama 8: export TMP=/tmp
9: export CGI_ASIR_ALLOW="[(version) (asir_contrib_copyright) (fctr) (primadec) (nd_gr_main) (dp_gr_main)]"
10: export CGI_ASIR_TLIMIT="30"
1.5 takayama 11: WFILE=/tmp/tmp-post-$$.txt
12: tee /tmp/t.txt | oxdecode_post >${WFILE}
13: env CONTENT_LENGTH=`wc -m ${WFILE} | awk '{print $1}'` sm1 -q -s "[(parse) (cgiasir.sm1) pushfile] extension oxNoX cgiAsir quit " <${WFILE}
14: rm -f ${WFILE}
15: exit 0
16:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>