|
|||||||||||||||||||||||||||||||||||||||||
|
[ ID = 0267 ] | Dr Ian Lewin |
---|---|
Name | Lewin, Dr Ian |
Job Title | Computer Scientist |
Organisation | European Bioinformatics Institute |
Address | Wellcome Trust Genome Campus Hinxton Cambridge CB10 1SD Wellcome Trust Genome Campus |
Postal Code | CB10 1SD |
City | Hinxton |
Country | United Kingdom |
Phone | +44 1223 492606 |
Fax | + |
Mobile | + |
ian.lewin_(on)_ebi.ac.uk [@ replaced for spam protection] | |
Organisation URL | http://www.ebi.ac.uk |
Personal URL | |
Membership | |
Languages | English |
Specialism | Text processing
Text mining Information Extraction Information Services by Telephone using Speech Technologies Corpora and Dialogue Annotations Corpus statistics Developer Tools Dialogue Management Discourse analysis |
Photograph | Description or CV |
![]() |
|
![]() |
Last update: 2008-09-09 10:53:34 #!/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" |