wwwoffle-htfuzzy
Upload User: seven77cht
Upload Date: 2007-01-04
Package Size: 486k
Code Size: 1k
Category:

Browser Client

Development Platform:

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