wwwoffle-htfuzzy
上传用户:seven77cht
上传日期:2007-01-04
资源大小:486k
文件大小:1k
源码类别:

浏览器

开发平台:

Unix_Linux

  1. #!/bin/sh
  2. #### THE SPOOL DIR IS "SPOOLDIR" IN THE LINE BELOW ####
  3. wwwoffle_spool=SPOOLDIR
  4. ####
  5. # Set the path to include the htdig executables
  6. PATH=$PATH:/usr/local/bin
  7. export PATH
  8. # Set the temporary directory used for creating the fuzzy endings
  9. #TMPDIR=/tmp
  10. #export TMPDIR
  11. # Set up a log file.
  12. echo > $wwwoffle_spool/html/htdig/wwwoffle-htdig.log
  13. # Create the fuzzy databases
  14. htfuzzy -v -c $wwwoffle_spool/html/htdig/conf/htfuzzy.conf endings  >> $wwwoffle_spool/html/htdig/wwwoffle-htdig.log 2>&1
  15. htfuzzy -v -c $wwwoffle_spool/html/htdig/conf/htfuzzy.conf synonyms >> $wwwoffle_spool/html/htdig/wwwoffle-htdig.log 2>&1