=================================================================== RCS file: /home/cvs/OpenXM/src/asir-port/cgi/cgi-asir-r-markov.sh,v retrieving revision 1.2 retrieving revision 1.3 diff -u -p -r1.2 -r1.3 --- OpenXM/src/asir-port/cgi/cgi-asir-r-markov.sh 2013/02/18 23:33:13 1.2 +++ OpenXM/src/asir-port/cgi/cgi-asir-r-markov.sh 2013/09/26 04:13:40 1.3 @@ -1,5 +1,5 @@ #!/bin/bash -# $OpenXM: OpenXM/src/asir-port/cgi/cgi-asir-r-markov.sh,v 1.1 2013/01/31 06:50:08 takayama Exp $ +# $OpenXM: OpenXM/src/asir-port/cgi/cgi-asir-r-markov.sh,v 1.2 2013/02/18 23:33:13 takayama Exp $ ## Replace $OpenXM_HOME by an absolute path of your cite. source $OpenXM_HOME/rc/dot.bashrc #source /home/taka/OpenXM/rc/dot.bashrc @@ -10,5 +10,9 @@ export OX_ASIR_LOAD_FILE=$OpenXM_HOME/src/asir-port/cg export CGI_ASIR_MSG="
  Example. r_markov([[1,1,1,1],[0,1,2,3]]) 
 

" -sm1 -q -s "[(parse) (cgiasir.sm1) pushfile] extension oxNoX cgiAsir quit " +WFILE=/tmp/tmp-post-$$.txt +tee /tmp/t.txt | oxdecode_post >${WFILE} +env CONTENT_LENGTH=`wc -m ${WFILE} | awk '{print $1}'` sm1 -q -s "[(parse) (cgiasir.sm1) pushfile] extension oxNoX cgiAsir quit " <${WFILE} +rm -f ${WFILE} +exit 0