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