#!/bin/csh -f echo "Content-type: text/html" echo "" set LAST = `tail --lines 1 /home/chingon/db/kpts.dat` # make sure the QUERY_STRING contains lots of comma separated #s if( `echo $QUERY_STRING | grep -c ","` > 156 ) then echo $QUERY_STRING >> /home/chingon/db/kpts.dat endif echo '' echo '