|
|||||||||||||||||||||||||||||||||||||||||
|
[ ID = 1777 ] | Ariel Cohen |
---|---|
Name | Cohen, Ariel |
Job Title | Senior Lecturer |
Organisation | Ben-Gurion University of the Negev |
Address | |
Postal Code | 84105 |
City | Beer Sheva |
Country | Israel |
Phone | + +972-8-6461137 |
Fax | + +972-8-6472907 |
Mobile | + +972-545-914664 |
arikc_(on)_bgumail.bgu.ac.il [@ replaced for spam protection] | |
Organisation URL | |
Personal URL | http://www.bgu.ac.il/~arikc |
Membership | |
Languages | English Hebrew |
Specialism | General and computational linguistics
Semantics Probability Default reasoning |
Photograph | Description or CV |
![]() |
|
![]() |
Last update: 2004-08-16 16:50:58 #!/usr/bin/ksh # cntr.cgi -- # version 0 DOC=$DOCUMENT_ROOT$DOCUMENT_URI VSTART=28-08-2008 WRONGLOG=${DOCUMENT_ROOT}/cntr.txt echo Content-type:text/html echo case $DOC in *experts*) CDIR=${DOCUMENT_ROOT}/cntex ;; *orgs*) CDIR=${DOCUMENT_ROOT}/cntor ;; *) WRONG=yes ;; esac CFILE=${DOC##*/} case ${CFILE} in [0-9][0-9][0-9][0-9].html) WRONG=no ;; *) WRONG=yes ;; esac [ $WRONG = yes ] && { echo "$(date) $REMOTE_ADDR ${DOC}" >> $WRONGLOG exit } CCNT=${CDIR}/${CFILE%.html}.txt CLCK=${CDIR}/${CFILE%.html}.lck [ -s $CCNT ] && COUNT=$(head -1 $CCNT) COUNT=$(( ${COUNT:-0} + 1 )) [ -f $CLCK ] || { touch $CLCK echo $COUNT > $CCNT rm -f $CLCK } echo " Visits since $VSTART: $COUNT" |