[BACK]Return to cgi-asir-r-fd.sh CVS log [TXT][DIR] Up to [local] / OpenXM / src / asir-port / cgi

Annotation of OpenXM/src/asir-port/cgi/cgi-asir-r-fd.sh, Revision 1.2

1.1       takayama    1: #!/bin/bash
1.2     ! takayama    2: # $OpenXM: OpenXM/src/asir-port/cgi/cgi-asir-r-fd.sh,v 1.1 2014/07/27 03:18:44 takayama Exp $
1.1       takayama    3: ## Replace $OpenXM_HOME by an absolute path of your cite.
                      4: source $OpenXM_HOME/rc/dot.bashrc
                      5: #source /home/taka/OpenXM/rc/dot.bashrc
                      6: export TMP=/tmp
                      7: export CGI_ASIR_ALLOW="[(version) (asir_contrib_copyright) (r_ahvec)]"
                      8: export CGI_ASIR_TLIMIT="3600"
                      9: export OX_ASIR_LOAD_FILE=$OpenXM_HOME/src/asir-port/cgi/r-fd.rr
                     10: export CGI_ASIR_MSG="<pre>
1.2     ! takayama   11:  Example. r_ahvec(-1,[-2,-3],10,[[1,1/2,1/3],[1,1,1]])
        !            12:  r_ahvec(A,B,C,P),  P is a 2 by m matrix.
        !            13:  Contingency table:
        !            14:  -A,     0,    0,   0
        !            15:  C-1,-B[0],-B[1],-B[2]
        !            16:  It returns (Z, d21 Z, d22 Z, ..., d2m Z).
1.1       takayama   17: </pre><br>"
                     18: WFILE=/tmp/tmp-post-$$.txt
                     19: tee /tmp/t.txt | oxdecode_post >${WFILE}
                     20: env CONTENT_LENGTH=`wc -m ${WFILE} | awk '{print $1}'`  sm1 -q -s "[(parse) (cgiasir.sm1) pushfile] extension oxNoX cgiAsir quit " <${WFILE}
                     21: rm -f ${WFILE}
                     22: exit 0
                     23:

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>