version 1.1, 2014/07/27 03:18:44 |
version 1.3, 2014/07/30 06:54:56 |
|
|
#!/bin/bash |
#!/bin/bash |
# $OpenXM$ |
# $OpenXM: OpenXM/src/asir-port/cgi/cgi-asir-r-fd.sh,v 1.2 2014/07/30 00:37:41 takayama Exp $ |
## Replace $OpenXM_HOME by an absolute path of your cite. |
## Replace $OpenXM_HOME by an absolute path of your cite. |
|
export OpenXM_HOME=/private/taka/OpenXM |
|
export HOME=/tmp |
|
## Note that OpenXM_tmp is set in the dot.bashrc below as HOME/.OpenXM_tmp |
source $OpenXM_HOME/rc/dot.bashrc |
source $OpenXM_HOME/rc/dot.bashrc |
#source /home/taka/OpenXM/rc/dot.bashrc |
#source /home/taka/OpenXM/rc/dot.bashrc |
export TMP=/tmp |
export TMP=/tmp |
Line 8 export CGI_ASIR_ALLOW="[(version) (asir_contrib_copyri |
|
Line 11 export CGI_ASIR_ALLOW="[(version) (asir_contrib_copyri |
|
export CGI_ASIR_TLIMIT="3600" |
export CGI_ASIR_TLIMIT="3600" |
export OX_ASIR_LOAD_FILE=$OpenXM_HOME/src/asir-port/cgi/r-fd.rr |
export OX_ASIR_LOAD_FILE=$OpenXM_HOME/src/asir-port/cgi/r-fd.rr |
export CGI_ASIR_MSG="<pre> |
export CGI_ASIR_MSG="<pre> |
Example. r_fd(-1,[-2,-3],10,[[1,1/2,1/3],[1,1,1]]); |
Example. r_ahvec(-1,[-2,-3],10,[[1,1/2,1/3],[1,1,1]]) |
|
r_ahvec(A,B,C,P), P is a 2 by m matrix. |
|
Contingency table: |
|
-A, 0, 0, 0 |
|
C-1,-B[0],-B[1],-B[2] |
|
It returns (Z, d21 Z, d22 Z, ..., d2m Z). |
</pre><br>" |
</pre><br>" |
WFILE=/tmp/tmp-post-$$.txt |
WFILE=/tmp/tmp-post-$$.txt |
tee /tmp/t.txt | oxdecode_post >${WFILE} |
tee /tmp/t.txt | oxdecode_post >${WFILE} |